diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp index 3c1c2054d..5f86ad4a3 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1428,8 +1428,10 @@ void Client::initConfiguration() { // Fill configuration with defaults config.setValue("hwaccel", false); -#if (defined __APPLE__ || defined WIN32) && defined USE_OPENGL +#if (defined __APPLE__) && defined USE_OPENGL config.setValue("opengl", 1); +#elif (defined WIN32) && defined USE_OPENGL + config.setValue("opengl", 2); #else config.setValue("opengl", 0); #endif |