diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-12-12 22:12:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-12-12 22:12:18 +0300 |
commit | f5c40ef7c84f9d5914550b5781bad01ba63676dd (patch) | |
tree | fbfd5097d334a961e5a580d4e53409e539108221 /src/resources/sdl2softwareimagehelper.h | |
parent | 47bcf6b7096d8a210d3a92d8b36913bc8163c9b4 (diff) | |
download | manaverse-f5c40ef7c84f9d5914550b5781bad01ba63676dd.tar.gz manaverse-f5c40ef7c84f9d5914550b5781bad01ba63676dd.tar.bz2 manaverse-f5c40ef7c84f9d5914550b5781bad01ba63676dd.tar.xz manaverse-f5c40ef7c84f9d5914550b5781bad01ba63676dd.zip |
Fix compilation errors with SDL2.s20161213
Diffstat (limited to 'src/resources/sdl2softwareimagehelper.h')
-rw-r--r-- | src/resources/sdl2softwareimagehelper.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/resources/sdl2softwareimagehelper.h b/src/resources/sdl2softwareimagehelper.h index 789bfea85..47a0f7ed5 100644 --- a/src/resources/sdl2softwareimagehelper.h +++ b/src/resources/sdl2softwareimagehelper.h @@ -74,8 +74,7 @@ class SDL2SoftwareImageHelper final : public ImageHelper SDL_Surface *restrict const dst, SDL_Rect *restrict const dstrect); - constexpr2 static void setFormat(SDL_PixelFormat *const format) - noexcept2 + static void setFormat(SDL_PixelFormat *const format) noexcept2 { mFormat = format; if (mFormat) |