From 005d429599088b523e4f62326824c7fb51ba9c63 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 21 Apr 2011 06:09:30 +0300 Subject: Fix draw issue in SDL after vertex precalculation. --- src/graphics.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/graphics.h') 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; -- cgit v1.2.3-60-g2f50