summaryrefslogtreecommitdiff
path: root/src/test/testlauncher.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-16 21:10:58 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-16 21:27:20 +0300
commit71a8401df046ac856d3bb02d6f44733890883f44 (patch)
treee37e6c9b47ff4a9c45a41860286a78bd12f61616 /src/test/testlauncher.cpp
parenta82331f46657298d335c36f9276ab3007b327d4b (diff)
downloadmanaverse-71a8401df046ac856d3bb02d6f44733890883f44.tar.gz
manaverse-71a8401df046ac856d3bb02d6f44733890883f44.tar.bz2
manaverse-71a8401df046ac856d3bb02d6f44733890883f44.tar.xz
manaverse-71a8401df046ac856d3bb02d6f44733890883f44.zip
Add max texture size detection for all modes.
Diffstat (limited to 'src/test/testlauncher.cpp')
-rw-r--r--src/test/testlauncher.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp
index 8dc292177..c6c9d5128 100644
--- a/src/test/testlauncher.cpp
+++ b/src/test/testlauncher.cpp
@@ -80,7 +80,7 @@ int TestLauncher::exec()
return testFps();
else if (mTest == "11")
return testBatches();
- else if (mTest == "14" || mTest == "15" || mTest == "16")
+ else if (mTest == "14" || mTest == "15" || mTest == "16" || mTest == "20")
return testTextures();
else if (mTest == "99")
return testVideoDetection();
@@ -352,6 +352,8 @@ int TestLauncher::testTextures()
file << mTest << std::endl;
file << maxSize << std::endl;
+ printf("OpenGL max size: %d\n", sz);
+ printf("actual max size: %d\n", maxSize);
return 0;
}