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/sdl2imagehelper.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/sdl2imagehelper.h')
-rw-r--r-- | src/resources/sdl2imagehelper.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/resources/sdl2imagehelper.h b/src/resources/sdl2imagehelper.h index e0e0d0e9e..1790484e3 100644 --- a/src/resources/sdl2imagehelper.h +++ b/src/resources/sdl2imagehelper.h @@ -78,12 +78,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; |