summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-23 12:07:25 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-23 12:08:54 +0300
commit906332df8779bca71641c6bcdc84d04a1de6d2eb (patch)
tree3571dab23663919ed9c6536c19ba14e850ab4581 /src/test
parentdee232be436909e84a39e9bc3e8949dbaba38e05 (diff)
downloadmanaplus-906332df8779bca71641c6bcdc84d04a1de6d2eb.tar.gz
manaplus-906332df8779bca71641c6bcdc84d04a1de6d2eb.tar.bz2
manaplus-906332df8779bca71641c6bcdc84d04a1de6d2eb.tar.xz
manaplus-906332df8779bca71641c6bcdc84d04a1de6d2eb.zip
Add functions for resize batch size (OpenGL).
Diffstat (limited to 'src/test')
-rw-r--r--src/test/testmain.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/testmain.cpp b/src/test/testmain.cpp
index 53703dbc6..d21cd2dac 100644
--- a/src/test/testmain.cpp
+++ b/src/test/testmain.cpp
@@ -192,7 +192,8 @@ 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)
+ if (openGLMode == RENDER_NORMAL_OPENGL
+ || openGLMode == RENDER_GLES_OPENGL)
{
if (!invokeFastOpenBatchTest("11"))
batchSize = readValue2(11);