diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-08 17:11:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-08 17:11:06 +0300 |
commit | a80a1c69f8a5f4db88ade16e3b9d53f7b648be47 (patch) | |
tree | d8fe25f8aca2b62f2c93f7eb264eabffa85b8959 /src/client.cpp | |
parent | c70431d73da9c821cfedbd162c7d2447b7057459 (diff) | |
download | manaplus-a80a1c69f8a5f4db88ade16e3b9d53f7b648be47.tar.gz manaplus-a80a1c69f8a5f4db88ade16e3b9d53f7b648be47.tar.bz2 manaplus-a80a1c69f8a5f4db88ade16e3b9d53f7b648be47.tar.xz manaplus-a80a1c69f8a5f4db88ade16e3b9d53f7b648be47.zip |
Get from video detection texture compression and texture sampler modes.
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 |