From b0d439c392d9ef3ccaf29eca70e16bd3618c7bb0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 17 Dec 2012 20:57:16 +0300 Subject: Add option to disable gamma correction. Gamma correction disable by default for MacOSX. --- src/defaults.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/defaults.cpp') 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; } -- cgit v1.2.3-70-g09d2