diff options
Diffstat (limited to 'src/resources/openglimagehelper.h')
-rw-r--r-- | src/resources/openglimagehelper.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/resources/openglimagehelper.h b/src/resources/openglimagehelper.h index 18b25fe2f..8d2348ed9 100644 --- a/src/resources/openglimagehelper.h +++ b/src/resources/openglimagehelper.h @@ -77,17 +77,18 @@ class OpenGLImageHelper final : public ImageHelper * otherwise. */ Image *load(SDL_RWops *const rw, - Dye const &dye) const override A_WARN_UNUSED; + Dye const &dye) const override final A_WARN_UNUSED; /** * Loads an image from an SDL surface. */ - Image *load(SDL_Surface *const tmpImage) const override A_WARN_UNUSED; + Image *load(SDL_Surface *const tmpImage) const + override final A_WARN_UNUSED; Image *createTextSurface(SDL_Surface *const tmpImage, const int width, const int height, const float alpha) - const override A_WARN_UNUSED; + const override final A_WARN_UNUSED; // OpenGL only public functions @@ -115,7 +116,8 @@ class OpenGLImageHelper final : public ImageHelper static void setUseTextureSampler(const bool b) { mUseTextureSampler = b; } - SDL_Surface *create32BitSurface(int width, int height) const override; + SDL_Surface *create32BitSurface(int width, + int height) const override final; protected: /** |