diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-17 20:57:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-17 20:57:16 +0300 |
commit | b0d439c392d9ef3ccaf29eca70e16bd3618c7bb0 (patch) | |
tree | 5d1e7a8faf9f8ca3537a1b3658a5aacad518774e /src/defaults.cpp | |
parent | d220dec50c6fb9218092e8caab87fcee6ef11e71 (diff) | |
download | mv-b0d439c392d9ef3ccaf29eca70e16bd3618c7bb0.tar.gz mv-b0d439c392d9ef3ccaf29eca70e16bd3618c7bb0.tar.bz2 mv-b0d439c392d9ef3ccaf29eca70e16bd3618c7bb0.tar.xz mv-b0d439c392d9ef3ccaf29eca70e16bd3618c7bb0.zip |
Add option to disable gamma correction.
Gamma correction disable by default for MacOSX.
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r-- | src/defaults.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp index bd51110ce..57b87dafe 100644 --- a/src/defaults.cpp +++ b/src/defaults.cpp @@ -284,6 +284,11 @@ DefaultsData* getConfigDefaults() AddDEF("protectChatFocus", true); AddDEF("screenButtonsSize", 1); AddDEF("screenJoystickSize", 1); +#if defined(__APPLE__) + AddDEF("enableGamma", false); +#else + AddDEF("enableGamma", true); +#endif return configData; } |