summaryrefslogtreecommitdiff
path: root/src/resources/sdl2imagehelper.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-02 01:16:35 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-02 01:16:35 +0300
commitd927e92e98057c544ff6829d26807e8bc22a7441 (patch)
treeaf64ddcf0ad4ab0a8bc94ba6eaf9cf21817cdff6 /src/resources/sdl2imagehelper.cpp
parent2cff8f67ed362d0996610a7fd6f27b445afa521c (diff)
downloadmv-d927e92e98057c544ff6829d26807e8bc22a7441.tar.gz
mv-d927e92e98057c544ff6829d26807e8bc22a7441.tar.bz2
mv-d927e92e98057c544ff6829d26807e8bc22a7441.tar.xz
mv-d927e92e98057c544ff6829d26807e8bc22a7441.zip
fix SDL2 default render mode.
fixed image helper type flag.
Diffstat (limited to 'src/resources/sdl2imagehelper.cpp')
-rw-r--r--src/resources/sdl2imagehelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/sdl2imagehelper.cpp b/src/resources/sdl2imagehelper.cpp
index eedb58de3..0433d2595 100644
--- a/src/resources/sdl2imagehelper.cpp
+++ b/src/resources/sdl2imagehelper.cpp
@@ -148,7 +148,7 @@ Image *SDLImageHelper::_SDLload(SDL_Surface *tmpImage) const
RenderType SDLImageHelper::useOpenGL() const
{
- return RENDER_SOFTWARE;
+ return RENDER_SDL2_DEFAULT;
}
SDL_Surface *SDLImageHelper::create32BitSurface(int width, int height) const