summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-11-21 01:03:38 +0300
committerAndrei Karas <akaras@inbox.ru>2012-11-21 01:04:08 +0300
commit87e78e9cef8bc804cb7cf9a44a54d1986e889625 (patch)
treeb0f04c12fa9f8c4d82256091f4925dbcb4ef03db /src
parent83122fc4544395be73b1ecd1386cba4c3fc6ef20 (diff)
downloadmv-87e78e9cef8bc804cb7cf9a44a54d1986e889625.tar.gz
mv-87e78e9cef8bc804cb7cf9a44a54d1986e889625.tar.bz2
mv-87e78e9cef8bc804cb7cf9a44a54d1986e889625.tar.xz
mv-87e78e9cef8bc804cb7cf9a44a54d1986e889625.zip
Enable batch map draw always in OpenGL modes.
It using bit more cpu, but look like anyway faster.
Diffstat (limited to 'src')
-rw-r--r--src/map.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp
index d5f61261c..a3e1b1161 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -418,7 +418,8 @@ void Map::draw(Graphics *graphics, int scrollX, int scrollY)
else
{
#ifdef USE_OPENGL
- if ((mOpenGL == 1 || mOpenGL == 3) && updateFlag != 2)
+// if ((mOpenGL == 1 || mOpenGL == 3) && updateFlag != 2)
+ if (mOpenGL == 1 || mOpenGL == 3)
{
if (updateFlag)
{