From 6419386c4c382753509425826ee609dd07d4ae72 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 18 Sep 2013 22:39:29 +0300 Subject: add const to other files. --- src/test/testmain.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/test/testmain.cpp') 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)) -- cgit v1.2.3-60-g2f50