diff options
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/client.cpp b/src/client.cpp index 8a3f6f026..5bf560d32 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -514,10 +514,7 @@ void Client::gameInit() if (!mOptions.safeMode && mOptions.test.empty() && !config.getBoolValue("videodetected")) { - config.setValue("videodetected", true); - int val = graphicsManager.startDetection(); - if (val >= 0 && val <= 2) - config.setValue("opengl", val); + graphicsManager.detectVideoSettings(); } #endif |