summaryrefslogtreecommitdiff
path: root/src/resources/sdlimagehelper.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-13 15:56:56 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-13 15:56:56 +0300
commitcd0baf3217701134a8e61932fd14c39cec0cf242 (patch)
tree7d18a8b58d753865c3de9027fd384035375c7ab9 /src/resources/sdlimagehelper.h
parente71aed97c2d885c8113561c1e0cad91454adeb57 (diff)
downloadmv-cd0baf3217701134a8e61932fd14c39cec0cf242.tar.gz
mv-cd0baf3217701134a8e61932fd14c39cec0cf242.tar.bz2
mv-cd0baf3217701134a8e61932fd14c39cec0cf242.tar.xz
mv-cd0baf3217701134a8e61932fd14c39cec0cf242.zip
Fix compilation errors with different flags.
Also fix renderer selection in build without OpenGL.
Diffstat (limited to 'src/resources/sdlimagehelper.h')
-rw-r--r--src/resources/sdlimagehelper.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/resources/sdlimagehelper.h b/src/resources/sdlimagehelper.h
index 7d98e7fc4..5c3cabb09 100644
--- a/src/resources/sdlimagehelper.h
+++ b/src/resources/sdlimagehelper.h
@@ -81,12 +81,6 @@ class SDLImageHelper final : public ImageHelper
static bool SDLGetEnableAlphaCache() A_WARN_UNUSED
{ return mEnableAlphaCache; }
- /**
- * Tells if the image was loaded using OpenGL or SDL
- * @return true if OpenGL, false if SDL.
- */
- RenderType useOpenGL() const override A_WARN_UNUSED;
-
static SDL_Surface* SDLDuplicateSurface(SDL_Surface *const tmpImage)
A_WARN_UNUSED;