summaryrefslogtreecommitdiff
path: root/src/touchmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-11-04 00:49:33 +0300
committerAndrei Karas <akaras@inbox.ru>2013-11-04 00:49:33 +0300
commitdb57c5be30ff61394b7fff8b0c7fa0101e66d6c0 (patch)
tree5bd683f3aeb3cfef458eaa45726f3e06c721b3b6 /src/touchmanager.cpp
parent1485b138c5b906546381f1ae4a91553a3c2fc6c4 (diff)
downloadmanaplus-db57c5be30ff61394b7fff8b0c7fa0101e66d6c0.tar.gz
manaplus-db57c5be30ff61394b7fff8b0c7fa0101e66d6c0.tar.bz2
manaplus-db57c5be30ff61394b7fff8b0c7fa0101e66d6c0.tar.xz
manaplus-db57c5be30ff61394b7fff8b0c7fa0101e66d6c0.zip
improve checking for batch draw mode support by renderer.
Diffstat (limited to 'src/touchmanager.cpp')
-rw-r--r--src/touchmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/touchmanager.cpp b/src/touchmanager.cpp
index 2620e9a17..a60680407 100644
--- a/src/touchmanager.cpp
+++ b/src/touchmanager.cpp
@@ -186,7 +186,7 @@ void TouchManager::clear()
void TouchManager::draw()
{
- if (openGLMode != RENDER_SAFE_OPENGL)
+ if (isBatchDrawRenders(openGLMode))
{
if (mRedraw)
{