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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/render/sdl2graphics.h b/src/render/sdl2graphics.h
index cbb2ff901..f1960d358 100644
--- a/src/render/sdl2graphics.h
+++ b/src/render/sdl2graphics.h
@@ -142,6 +142,15 @@ class SDLGraphics final : public Graphics
const int width, const int height,
const bool useColor) override final;
+ void drawImageCached(const Image *const image,
+ int x, int y) override final;
+
+ void drawPatternCached(const Image *const image,
+ const int x, const int y,
+ const int w, const int h) override final;
+
+ void completeCache() override final;
+
protected:
uint32_t mRendererFlags;
uint32_t mOldPixel;