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.cpp | |
parent | e71aed97c2d885c8113561c1e0cad91454adeb57 (diff) | |
download | manaverse-cd0baf3217701134a8e61932fd14c39cec0cf242.tar.gz manaverse-cd0baf3217701134a8e61932fd14c39cec0cf242.tar.bz2 manaverse-cd0baf3217701134a8e61932fd14c39cec0cf242.tar.xz manaverse-cd0baf3217701134a8e61932fd14c39cec0cf242.zip |
Fix compilation errors with different flags.
Also fix renderer selection in build without OpenGL.
Diffstat (limited to 'src/resources/sdlimagehelper.cpp')
-rw-r--r-- | src/resources/sdlimagehelper.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/resources/sdlimagehelper.cpp b/src/resources/sdlimagehelper.cpp index 9742bbd5d..ad146aa22 100644 --- a/src/resources/sdlimagehelper.cpp +++ b/src/resources/sdlimagehelper.cpp @@ -276,11 +276,6 @@ Image *SDLImageHelper::_SDLload(SDL_Surface *tmpImage) const return new Image(image, hasAlpha, alphaChannel); } -RenderType SDLImageHelper::useOpenGL() const -{ - return RENDER_SOFTWARE; -} - SDL_Surface *SDLImageHelper::create32BitSurface(int width, int height) const { #if SDL_BYTEORDER == SDL_BIG_ENDIAN |