From b9df76baf8ec7d853d81096fb33647bdec1f0106 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 13 Feb 2011 20:44:25 +0200 Subject: Set by default opengl to safe opengl mode for windows players. --- src/client.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3-60-g2f50