diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-13 15:56:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-13 15:56:56 +0300 |
commit | cd0baf3217701134a8e61932fd14c39cec0cf242 (patch) | |
tree | 7d18a8b58d753865c3de9027fd384035375c7ab9 /src/resources/sdlimagehelper.h | |
parent | e71aed97c2d885c8113561c1e0cad91454adeb57 (diff) | |
download | manaplus-cd0baf3217701134a8e61932fd14c39cec0cf242.tar.gz manaplus-cd0baf3217701134a8e61932fd14c39cec0cf242.tar.bz2 manaplus-cd0baf3217701134a8e61932fd14c39cec0cf242.tar.xz manaplus-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.h | 6 |
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; |