diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-01 17:40:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-01 17:57:47 +0300 |
commit | 5359b7c20b9ee93989a840e555f0a2102b7bb806 (patch) | |
tree | a95017d22a4f3e2f57be59dd4826f3b823a65656 /src/resources/openglimagehelper.cpp | |
parent | 222748a7e0c79225c66485898b913aa60f56cfe2 (diff) | |
download | plus-5359b7c20b9ee93989a840e555f0a2102b7bb806.tar.gz plus-5359b7c20b9ee93989a840e555f0a2102b7bb806.tar.bz2 plus-5359b7c20b9ee93989a840e555f0a2102b7bb806.tar.xz plus-5359b7c20b9ee93989a840e555f0a2102b7bb806.zip |
add SDL2 default render mode.
in this mode SDL using own driver with hardware acceleration.
Diffstat (limited to 'src/resources/openglimagehelper.cpp')
-rw-r--r-- | src/resources/openglimagehelper.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resources/openglimagehelper.cpp b/src/resources/openglimagehelper.cpp index e686d6f5a..c41538b2e 100644 --- a/src/resources/openglimagehelper.cpp +++ b/src/resources/openglimagehelper.cpp @@ -215,6 +215,7 @@ Image *OpenGLImageHelper::glLoad(SDL_Surface *tmpImage, MobileOpenGLGraphics::bindTexture(mTextureType, texture); break; case RENDER_SOFTWARE: + case RENDER_SDL2_DEFAULT: default: logger->log("Unknown OpenGL backend: %d", mUseOpenGL); break; |