diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-01 00:50:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-01 00:50:45 +0300 |
commit | af374aa2b2944749193af49cdca28532cf56fae2 (patch) | |
tree | b3e4fd2609a00175dbd94e42ab3d72984b4a051b /src/resources/sdlimagehelper.cpp | |
parent | 00cda69b883d6354f093be6ee39a7936cb798979 (diff) | |
download | mv-af374aa2b2944749193af49cdca28532cf56fae2.tar.gz mv-af374aa2b2944749193af49cdca28532cf56fae2.tar.bz2 mv-af374aa2b2944749193af49cdca28532cf56fae2.tar.xz mv-af374aa2b2944749193af49cdca28532cf56fae2.zip |
add renderer enum.
Diffstat (limited to 'src/resources/sdlimagehelper.cpp')
-rw-r--r-- | src/resources/sdlimagehelper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/sdlimagehelper.cpp b/src/resources/sdlimagehelper.cpp index e7d7bacd6..9742bbd5d 100644 --- a/src/resources/sdlimagehelper.cpp +++ b/src/resources/sdlimagehelper.cpp @@ -276,9 +276,9 @@ Image *SDLImageHelper::_SDLload(SDL_Surface *tmpImage) const return new Image(image, hasAlpha, alphaChannel); } -int SDLImageHelper::useOpenGL() const +RenderType SDLImageHelper::useOpenGL() const { - return 0; + return RENDER_SOFTWARE; } SDL_Surface *SDLImageHelper::create32BitSurface(int width, int height) const |