diff options
Diffstat (limited to 'src/resources/surfaceimagehelper.h')
-rw-r--r-- | src/resources/surfaceimagehelper.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/surfaceimagehelper.h b/src/resources/surfaceimagehelper.h index 15c8d66d2..243a370c1 100644 --- a/src/resources/surfaceimagehelper.h +++ b/src/resources/surfaceimagehelper.h @@ -63,10 +63,10 @@ class SurfaceImageHelper final : public ImageHelper const float alpha) override final A_WARN_UNUSED; - static void SDLSetEnableAlphaCache(const bool n) + constexpr static void SDLSetEnableAlphaCache(const bool n) noexcept2 { mEnableAlphaCache = n; } - static bool SDLGetEnableAlphaCache() A_WARN_UNUSED + static bool SDLGetEnableAlphaCache() noexcept2 A_WARN_UNUSED { return mEnableAlphaCache; } /** |