summaryrefslogtreecommitdiff
path: root/src/resources/sdl2imagehelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/sdl2imagehelper.h')
-rw-r--r--src/resources/sdl2imagehelper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/sdl2imagehelper.h b/src/resources/sdl2imagehelper.h
index aa40aa065..ef5bfad79 100644
--- a/src/resources/sdl2imagehelper.h
+++ b/src/resources/sdl2imagehelper.h
@@ -67,7 +67,7 @@ class SDLImageHelper final : public ImageHelper
SDL_Surface *const surface)
const override final;
- constexpr static void SDLSetEnableAlphaCache(const bool n) noexcept2
+ constexpr2 static void SDLSetEnableAlphaCache(const bool n) noexcept2
{ mEnableAlphaCache = n; }
static bool SDLGetEnableAlphaCache() noexcept2 A_WARN_UNUSED
@@ -81,7 +81,7 @@ class SDLImageHelper final : public ImageHelper
SDL_Surface *restrict const dst,
SDL_Rect *restrict const dstrect);
- constexpr static void setRenderer(SDL_Renderer *const renderer)
+ constexpr2 static void setRenderer(SDL_Renderer *const renderer)
noexcept2
{ mRenderer = renderer; }