summaryrefslogtreecommitdiff
path: root/src/graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-11 02:02:10 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-11 02:02:10 +0300
commit7f6bcbba639bfbfcacd08113148a98be1693e00c (patch)
tree19af07469e8dff8d3c7178fadc4fab0dfc0dc5c8 /src/graphics.h
parentb3ba55c192e08e094063ea9d2a70f2aece9c85d7 (diff)
downloadmanaplus-7f6bcbba639bfbfcacd08113148a98be1693e00c.tar.gz
manaplus-7f6bcbba639bfbfcacd08113148a98be1693e00c.tar.bz2
manaplus-7f6bcbba639bfbfcacd08113148a98be1693e00c.tar.xz
manaplus-7f6bcbba639bfbfcacd08113148a98be1693e00c.zip
Bit improve draw speed with double buffer disabled in software mode.
Diffstat (limited to 'src/graphics.h')
-rw-r--r--src/graphics.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/graphics.h b/src/graphics.h
index ca5de63a9..40db25c5d 100644
--- a/src/graphics.h
+++ b/src/graphics.h
@@ -275,6 +275,8 @@ class Graphics : public gcn::SDLGraphics
bool mHWAccel;
BlitMode mBlitMode;
bool mRedraw;
+ bool mDoubleBuffer;
+ SDL_Rect mRect;
};
extern Graphics *graphics;