summaryrefslogtreecommitdiff
path: root/src/resources/sdl2softwareimagehelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/sdl2softwareimagehelper.h')
-rw-r--r--src/resources/sdl2softwareimagehelper.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/sdl2softwareimagehelper.h b/src/resources/sdl2softwareimagehelper.h
index 38bd0f9d0..6db14868f 100644
--- a/src/resources/sdl2softwareimagehelper.h
+++ b/src/resources/sdl2softwareimagehelper.h
@@ -74,7 +74,8 @@ class SDL2SoftwareImageHelper final : public ImageHelper
SDL_Surface *restrict const dst,
SDL_Rect *restrict const dstrect);
- constexpr2 static void setFormat(SDL_PixelFormat *const format) noexcept2
+ constexpr2 static void setFormat(SDL_PixelFormat *const format)
+ noexcept2
{
mFormat = format;
if (mFormat)