diff options
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/graphicsdef.hpp | 6 | ||||
-rw-r--r-- | src/render/imagegraphics.h | 4 | ||||
-rw-r--r-- | src/render/safeopenglgraphics.h | 2 | ||||
-rw-r--r-- | src/render/surfacegraphics.h | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/src/render/graphicsdef.hpp b/src/render/graphicsdef.hpp index ffa6d12c0..fb90c2fb4 100644 --- a/src/render/graphicsdef.hpp +++ b/src/render/graphicsdef.hpp @@ -27,11 +27,11 @@ public: */ void drawImageRect(int x, int y, int w, int h, - const ImageRect &imgRect); + const ImageRect &imgRect) override final; - void beginDraw(); + void beginDraw() override final; - void endDraw(); + void endDraw() override final; void pushClipArea(const Rect &area) override final; diff --git a/src/render/imagegraphics.h b/src/render/imagegraphics.h index a208d675f..8957543d4 100644 --- a/src/render/imagegraphics.h +++ b/src/render/imagegraphics.h @@ -128,7 +128,7 @@ class ImegeGraphics final : public Graphics override final { } - void updateScreen() + void updateScreen() override final { } SDL_Surface *getScreenshot() override final A_WARN_UNUSED @@ -193,7 +193,7 @@ class ImegeGraphics final : public Graphics */ void drawImageRect(const int x A_UNUSED, const int y A_UNUSED, const int w A_UNUSED, const int h A_UNUSED, - const ImageRect &imgRect A_UNUSED) + const ImageRect &imgRect A_UNUSED) override final { } protected: diff --git a/src/render/safeopenglgraphics.h b/src/render/safeopenglgraphics.h index fbb359002..04bf478a3 100644 --- a/src/render/safeopenglgraphics.h +++ b/src/render/safeopenglgraphics.h @@ -50,7 +50,7 @@ class SafeOpenGLGraphics final : public Graphics ~SafeOpenGLGraphics(); - void testDraw(); + void testDraw() override final; #include "render/graphicsdef.hpp" diff --git a/src/render/surfacegraphics.h b/src/render/surfacegraphics.h index f03392448..4a12f54d8 100644 --- a/src/render/surfacegraphics.h +++ b/src/render/surfacegraphics.h @@ -132,7 +132,7 @@ class SurfaceGraphics final : public Graphics override final { } - void updateScreen() + void updateScreen() override final { } SDL_Surface *getScreenshot() override final A_WARN_UNUSED @@ -203,7 +203,7 @@ class SurfaceGraphics final : public Graphics */ void drawImageRect(const int x A_UNUSED, const int y A_UNUSED, const int w A_UNUSED, const int h A_UNUSED, - const ImageRect &imgRect A_UNUSED) + const ImageRect &imgRect A_UNUSED) override final { } protected: |