diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-16 21:10:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-16 21:27:20 +0300 |
commit | 71a8401df046ac856d3bb02d6f44733890883f44 (patch) | |
tree | e37e6c9b47ff4a9c45a41860286a78bd12f61616 /src/test/testlauncher.cpp | |
parent | a82331f46657298d335c36f9276ab3007b327d4b (diff) | |
download | manaplus-71a8401df046ac856d3bb02d6f44733890883f44.tar.gz manaplus-71a8401df046ac856d3bb02d6f44733890883f44.tar.bz2 manaplus-71a8401df046ac856d3bb02d6f44733890883f44.tar.xz manaplus-71a8401df046ac856d3bb02d6f44733890883f44.zip |
Add max texture size detection for all modes.
Diffstat (limited to 'src/test/testlauncher.cpp')
-rw-r--r-- | src/test/testlauncher.cpp | 4 |
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; } |