Fix MSVC build.
This commit is contained in:
parent
4c9bff73e3
commit
602be9bea6
|
@ -14,7 +14,7 @@
|
|||
|
||||
|
||||
/// These ditherers are currently available:
|
||||
enum class DitherType : unsigned {
|
||||
enum DitherType : unsigned {
|
||||
none = 0, rectangle = 1, triangle = 2, shaped = 3 };
|
||||
|
||||
class Dither
|
||||
|
|
|
@ -74,7 +74,7 @@ static_assert(
|
|||
"size mismatch"
|
||||
);
|
||||
|
||||
static const int defaultFastDither = 0; // none
|
||||
static const size_t defaultFastDither = 0; // none
|
||||
|
||||
static EncodedEnumSetting fastDitherSetting{
|
||||
wxT("Quality/DitherAlgorithmChoice"),
|
||||
|
@ -83,7 +83,7 @@ static EncodedEnumSetting fastDitherSetting{
|
|||
wxT("Quality/DitherAlgorithm")
|
||||
};
|
||||
|
||||
static const int defaultBestDither = 3; // shaped
|
||||
static const size_t defaultBestDither = 3; // shaped
|
||||
|
||||
static EncodedEnumSetting bestDitherSetting{
|
||||
wxT("Quality/HQDitherAlgorithmChoice"),
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
class ShuttleGui;
|
||||
enum sampleFormat : unsigned;
|
||||
enum class DitherType : unsigned;
|
||||
enum DitherType : unsigned;
|
||||
|
||||
class QualityPrefs final : public PrefsPanel
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue