diff options
Diffstat (limited to 'src/progs/manaplus/client.cpp')
-rw-r--r-- | src/progs/manaplus/client.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/progs/manaplus/client.cpp b/src/progs/manaplus/client.cpp index 8670ae4ab..0fb971c61 100644 --- a/src/progs/manaplus/client.cpp +++ b/src/progs/manaplus/client.cpp @@ -411,8 +411,8 @@ void Client::gameInit() Cpu::detect(); DyePalette::initFunctions(); #if defined(USE_OPENGL) -#if !defined(ANDROID) && !defined(__APPLE__) && \ - !defined(__native_client__) && !defined(__SWITCH__) && !defined(UNITTESTS) +#if !defined(ANDROID) && !defined(__APPLE__) +#if !defined(__native_client__) && !defined(__SWITCH__) && !defined(UNITTESTS) if (!settings.options.safeMode && settings.options.renderer < 0 && settings.options.test.empty() && @@ -421,8 +421,9 @@ void Client::gameInit() { graphicsManager.detectVideoSettings(); } +#endif // !defined(__native_client__) && !defined(__SWITCH__) && + // !defined(UNITTESTS) #endif // !defined(ANDROID) && !defined(__APPLE__) && - // !defined(__native_client__) && !defined(UNITTESTS) #endif // defined(USE_OPENGL) initGraphics(); |