From a80a1c69f8a5f4db88ade16e3b9d53f7b648be47 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 8 Oct 2012 17:11:06 +0300 Subject: Get from video detection texture compression and texture sampler modes. --- src/client.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/client.cpp') 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 -- cgit v1.2.3-70-g09d2