diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-11-21 01:03:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-11-21 01:04:08 +0300 |
commit | 87e78e9cef8bc804cb7cf9a44a54d1986e889625 (patch) | |
tree | b0f04c12fa9f8c4d82256091f4925dbcb4ef03db /src | |
parent | 83122fc4544395be73b1ecd1386cba4c3fc6ef20 (diff) | |
download | manaverse-87e78e9cef8bc804cb7cf9a44a54d1986e889625.tar.gz manaverse-87e78e9cef8bc804cb7cf9a44a54d1986e889625.tar.bz2 manaverse-87e78e9cef8bc804cb7cf9a44a54d1986e889625.tar.xz manaverse-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.cpp | 3 |
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) { |