From 59321c4bac45456a141639ea371238823bd9f708 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 15 Feb 2013 18:29:24 +0300 Subject: Do not disable opengl in safe mode in Android and Mac OSX. --- src/client.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/client.cpp') 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); -- cgit v1.2.3-70-g09d2