diff options
Diffstat (limited to 'src/graphics.h')
-rw-r--r-- | src/graphics.h | 7 |
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; |