summaryrefslogtreecommitdiff
path: root/src/graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-04-21 06:09:30 +0300
committerAndrei Karas <akaras@inbox.ru>2011-04-21 06:09:30 +0300
commit005d429599088b523e4f62326824c7fb51ba9c63 (patch)
treedccce15cf132bae28c85be897d5f7cc33299ea17 /src/graphics.h
parent8037d33c9f429d4c0322da383cdda46776c3c14e (diff)
downloadmv-005d429599088b523e4f62326824c7fb51ba9c63.tar.gz
mv-005d429599088b523e4f62326824c7fb51ba9c63.tar.bz2
mv-005d429599088b523e4f62326824c7fb51ba9c63.tar.xz
mv-005d429599088b523e4f62326824c7fb51ba9c63.zip
Fix draw issue in SDL after vertex precalculation.
Diffstat (limited to 'src/graphics.h')
-rw-r--r--src/graphics.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/graphics.h b/src/graphics.h
index a331c21ba..423279fb0 100644
--- a/src/graphics.h
+++ b/src/graphics.h
@@ -255,6 +255,12 @@ class Graphics : public gcn::SDLGraphics
gcn::ClipRectangle &getTopClip()
{ return mClipStack.top(); }
+ void setRedraw(bool n)
+ { mRedraw = n; }
+
+ bool getRedraw()
+ { return mRedraw; }
+
protected:
int SDL_FakeUpperBlit (SDL_Surface *src, SDL_Rect *srcrect,
SDL_Surface *dst, SDL_Rect *dstrect);
@@ -265,6 +271,7 @@ class Graphics : public gcn::SDLGraphics
bool mFullscreen;
bool mHWAccel;
BlitMode mBlitMode;
+ bool mRedraw;
};
extern Graphics *graphics;