diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-08 01:04:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-08 01:04:33 +0300 |
commit | 410dd6c3d845cc0e19fd678090d95669bdeb5885 (patch) | |
tree | d9f0003f0f68212d1c99890f603c3d280b24669b /src/resources/openglimagehelper.cpp | |
parent | dce5065a2df5f6ac0057702f704b6ab4f16ce8f8 (diff) | |
download | manaplus-410dd6c3d845cc0e19fd678090d95669bdeb5885.tar.gz manaplus-410dd6c3d845cc0e19fd678090d95669bdeb5885.tar.bz2 manaplus-410dd6c3d845cc0e19fd678090d95669bdeb5885.tar.xz manaplus-410dd6c3d845cc0e19fd678090d95669bdeb5885.zip |
Add Modern OpenGL render type.
Now it using normal OpenGL renderer.
Diffstat (limited to 'src/resources/openglimagehelper.cpp')
-rw-r--r-- | src/resources/openglimagehelper.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/openglimagehelper.cpp b/src/resources/openglimagehelper.cpp index 6d25aa952..ca5f6410a 100644 --- a/src/resources/openglimagehelper.cpp +++ b/src/resources/openglimagehelper.cpp @@ -202,6 +202,7 @@ Image *OpenGLImageHelper::glLoad(SDL_Surface *tmpImage, { #ifndef ANDROID case RENDER_NORMAL_OPENGL: + case RENDER_MODERN_OPENGL: NormalOpenGLGraphics::bindTexture(mTextureType, texture); break; case RENDER_SAFE_OPENGL: @@ -210,6 +211,7 @@ Image *OpenGLImageHelper::glLoad(SDL_Surface *tmpImage, #else case RENDER_NORMAL_OPENGL: case RENDER_SAFE_OPENGL: + case RENDER_MODERN_OPENGL: #endif case RENDER_GLES_OPENGL: MobileOpenGLGraphics::bindTexture(mTextureType, texture); |