summaryrefslogtreecommitdiff
path: root/src/test/testmain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/testmain.cpp')
-rw-r--r--src/test/testmain.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/testmain.cpp b/src/test/testmain.cpp
index 9ef4fdc23..93174f94d 100644
--- a/src/test/testmain.cpp
+++ b/src/test/testmain.cpp
@@ -192,9 +192,10 @@ int TestMain::exec(const bool testAudio)
int batchSize = 256;
- // if OpenGL mode is fast mode we can try detect max batch sizes
+ // if OpenGL mode is normal mode we can try detect max batch sizes
if (openGLMode == RENDER_NORMAL_OPENGL
- || openGLMode == RENDER_GLES_OPENGL)
+ || openGLMode == RENDER_GLES_OPENGL
+ || openGLMode == RENDER_MODERN_OPENGL)
{
if (!invokeNormalOpenBatchTest("11"))
batchSize = readValue2(11);