diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-15 18:29:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-15 19:05:33 +0300 |
commit | 59321c4bac45456a141639ea371238823bd9f708 (patch) | |
tree | 39f32d768edab21de2e8aae6eb8fedce76e94415 /src/client.cpp | |
parent | aca14d26b0d9b0eca4c4896c32996792e3eeb136 (diff) | |
download | mv-59321c4bac45456a141639ea371238823bd9f708.tar.gz mv-59321c4bac45456a141639ea371238823bd9f708.tar.bz2 mv-59321c4bac45456a141639ea371238823bd9f708.tar.xz mv-59321c4bac45456a141639ea371238823bd9f708.zip |
Do not disable opengl in safe mode in Android and Mac OSX.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index b22ad5994..caa78b310 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -2295,7 +2295,14 @@ void Client::storeSafeParameters() const { // if video mode configured reset most settings to safe config.setValue("hwaccel", false); + +#if defined(ANDROID) + config.setValue("opengl", 2); +#elif defined(__APPLE__) + config.setValue("opengl", 1); +#else config.setValue("opengl", 0); +#endif config.setValue("altfpslimit", 3); config.setValue("sound", false); config.setValue("safemode", true); |