diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-18 22:39:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-18 22:39:29 +0300 |
commit | 6419386c4c382753509425826ee609dd07d4ae72 (patch) | |
tree | f5f6d54f86a86a21a8145891797a561f5bb8e8d8 /src/test | |
parent | 78744020528ef6231e1606bbe2e8c53011c77935 (diff) | |
download | manaverse-6419386c4c382753509425826ee609dd07d4ae72.tar.gz manaverse-6419386c4c382753509425826ee609dd07d4ae72.tar.bz2 manaverse-6419386c4c382753509425826ee609dd07d4ae72.tar.xz manaverse-6419386c4c382753509425826ee609dd07d4ae72.zip |
add const to other files.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/testmain.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/testmain.cpp b/src/test/testmain.cpp index f3e61b29e..4c45af989 100644 --- a/src/test/testmain.cpp +++ b/src/test/testmain.cpp @@ -87,7 +87,7 @@ int TestMain::exec(const bool testAudio) rescaleTest[2] = -1; std::string info; - int videoDetectTest = invokeTest("99"); + const int videoDetectTest = invokeTest("99"); if (!videoDetectTest) detectMode = readValue2(99); @@ -190,7 +190,7 @@ int TestMain::exec(const bool testAudio) } int batchSize = 256; -/* + // if OpenGL mode is fast mode we can try detect max batch sizes if (openGLMode == RENDER_NORMAL_OPENGL) { @@ -199,7 +199,6 @@ int TestMain::exec(const bool testAudio) if (batchSize < 256) batchSize = 256; } -*/ // if OpenGL implimentation is not good, disable it. if (!(detectMode & 15)) |