summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-08 17:11:06 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-08 17:11:06 +0300
commita80a1c69f8a5f4db88ade16e3b9d53f7b648be47 (patch)
treed8fe25f8aca2b62f2c93f7eb264eabffa85b8959 /src/client.cpp
parentc70431d73da9c821cfedbd162c7d2447b7057459 (diff)
downloadmanaverse-a80a1c69f8a5f4db88ade16e3b9d53f7b648be47.tar.gz
manaverse-a80a1c69f8a5f4db88ade16e3b9d53f7b648be47.tar.bz2
manaverse-a80a1c69f8a5f4db88ade16e3b9d53f7b648be47.tar.xz
manaverse-a80a1c69f8a5f4db88ade16e3b9d53f7b648be47.zip
Get from video detection texture compression and texture sampler modes.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp5
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