summaryrefslogtreecommitdiff
path: root/src/resources/sdl2softwareimagehelper.cpp
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/sdl2softwareimagehelper.cpp
parente71aed97c2d885c8113561c1e0cad91454adeb57 (diff)
downloadmanaverse-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/sdl2softwareimagehelper.cpp')
-rw-r--r--src/resources/sdl2softwareimagehelper.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/resources/sdl2softwareimagehelper.cpp b/src/resources/sdl2softwareimagehelper.cpp
index 7c4ff3d5d..db41a4ddc 100644
--- a/src/resources/sdl2softwareimagehelper.cpp
+++ b/src/resources/sdl2softwareimagehelper.cpp
@@ -141,11 +141,6 @@ Image *SDL2SoftwareImageHelper::_SDLload(SDL_Surface *tmpImage) const
return new Image(image, false, nullptr);
}
-RenderType SDL2SoftwareImageHelper::useOpenGL() const
-{
- return RENDER_SOFTWARE;
-}
-
SDL_Surface *SDL2SoftwareImageHelper::create32BitSurface(int width,
int height) const
{