summaryrefslogtreecommitdiff
path: root/src/render/sdl2graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/sdl2graphics.h')
-rw-r--r--src/render/sdl2graphics.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/sdl2graphics.h b/src/render/sdl2graphics.h
index f3835e904..383e93540 100644
--- a/src/render/sdl2graphics.h
+++ b/src/render/sdl2graphics.h
@@ -128,6 +128,9 @@ class SDLGraphics : public Graphics
const bool fs, const bool hwaccel,
const bool resize, const bool noFrame);
+ void setRendererFlags(const uint32_t flags)
+ { mRendererFlags = flags; }
+
protected:
virtual bool drawImage2(const Image *const image,
int srcX, int srcY,
@@ -135,6 +138,7 @@ class SDLGraphics : public Graphics
const int width, const int height,
const bool useColor);
+ uint32_t mRendererFlags;
uint32_t mOldPixel;
int mOldAlpha;
};