diff options
Diffstat (limited to 'src/resources/surfaceimagehelper.h')
-rw-r--r-- | src/resources/surfaceimagehelper.h | 3 |
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; |