summaryrefslogtreecommitdiff
path: root/src/resources/imagehelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/imagehelper.h')
-rw-r--r--src/resources/imagehelper.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/imagehelper.h b/src/resources/imagehelper.h
index 2f4276305..4ade89199 100644
--- a/src/resources/imagehelper.h
+++ b/src/resources/imagehelper.h
@@ -91,15 +91,15 @@ class ImageHelper notfinal
static void dumpSurfaceFormat(const SDL_Surface *const image);
- static void setEnableAlpha(const bool n)
+ constexpr static void setEnableAlpha(const bool n) noexcept2
{ mEnableAlpha = n; }
static SDL_Surface *loadPng(SDL_RWops *const rw);
- static void setOpenGlMode(const RenderType useOpenGL)
+ constexpr static void setOpenGlMode(const RenderType useOpenGL) noexcept2
{ mUseOpenGL = useOpenGL; }
- virtual RenderType useOpenGL() const A_WARN_UNUSED
+ virtual RenderType useOpenGL() const noexcept2 A_WARN_UNUSED
{ return mUseOpenGL; }
virtual void postInit()