diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-08 01:04:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-08 01:04:33 +0300 |
commit | 410dd6c3d845cc0e19fd678090d95669bdeb5885 (patch) | |
tree | d9f0003f0f68212d1c99890f603c3d280b24669b /src/test | |
parent | dce5065a2df5f6ac0057702f704b6ab4f16ce8f8 (diff) | |
download | manaplus-410dd6c3d845cc0e19fd678090d95669bdeb5885.tar.gz manaplus-410dd6c3d845cc0e19fd678090d95669bdeb5885.tar.bz2 manaplus-410dd6c3d845cc0e19fd678090d95669bdeb5885.tar.xz manaplus-410dd6c3d845cc0e19fd678090d95669bdeb5885.zip |
Add Modern OpenGL render type.
Now it using normal OpenGL renderer.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/testmain.cpp | 5 |
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); |