summaryrefslogtreecommitdiff
path: root/src/defaults.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-17 20:57:16 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-17 20:57:16 +0300
commitb0d439c392d9ef3ccaf29eca70e16bd3618c7bb0 (patch)
tree5d1e7a8faf9f8ca3537a1b3658a5aacad518774e /src/defaults.cpp
parentd220dec50c6fb9218092e8caab87fcee6ef11e71 (diff)
downloadManaVerse-b0d439c392d9ef3ccaf29eca70e16bd3618c7bb0.tar.gz
ManaVerse-b0d439c392d9ef3ccaf29eca70e16bd3618c7bb0.tar.bz2
ManaVerse-b0d439c392d9ef3ccaf29eca70e16bd3618c7bb0.tar.xz
ManaVerse-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.cpp5
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;
}