summaryrefslogtreecommitdiff
path: root/src/resources/surfaceimagehelper.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-12 22:12:18 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-12 22:12:18 +0300
commitf5c40ef7c84f9d5914550b5781bad01ba63676dd (patch)
treefbfd5097d334a961e5a580d4e53409e539108221 /src/resources/surfaceimagehelper.h
parent47bcf6b7096d8a210d3a92d8b36913bc8163c9b4 (diff)
downloadmv-f5c40ef7c84f9d5914550b5781bad01ba63676dd.tar.gz
mv-f5c40ef7c84f9d5914550b5781bad01ba63676dd.tar.bz2
mv-f5c40ef7c84f9d5914550b5781bad01ba63676dd.tar.xz
mv-f5c40ef7c84f9d5914550b5781bad01ba63676dd.zip
Fix compilation errors with SDL2.s20161213
Diffstat (limited to 'src/resources/surfaceimagehelper.h')
-rw-r--r--src/resources/surfaceimagehelper.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/surfaceimagehelper.h b/src/resources/surfaceimagehelper.h
index 65aa682a9..18eda5149 100644
--- a/src/resources/surfaceimagehelper.h
+++ b/src/resources/surfaceimagehelper.h
@@ -73,7 +73,8 @@ class SurfaceImageHelper final : public ImageHelper
* Tells if the image was loaded using OpenGL or SDL
* @return true if OpenGL, false if SDL.
*/
- RenderType useOpenGL() const override final A_WARN_UNUSED;
+ RenderType useOpenGL() const noexcept2 override final A_WARN_UNUSED
+ { return RENDER_SOFTWARE; }
static SDL_Surface* SDLDuplicateSurface(SDL_Surface *const tmpImage)
A_WARN_UNUSED;