summaryrefslogtreecommitdiff
path: root/src/resources/openglimagehelper.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-10 19:30:39 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-11 01:47:16 +0300
commit5e460c2c47e85a5ec70e0979750170ec6cd199b3 (patch)
treee3d56ca117fd24c9c916df5589001c8cb960f1f1 /src/resources/openglimagehelper.cpp
parentc5a6f80e62fd9836a75058ac358d39dd5ec956b5 (diff)
downloadmv-5e460c2c47e85a5ec70e0979750170ec6cd199b3.tar.gz
mv-5e460c2c47e85a5ec70e0979750170ec6cd199b3.tar.bz2
mv-5e460c2c47e85a5ec70e0979750170ec6cd199b3.tar.xz
mv-5e460c2c47e85a5ec70e0979750170ec6cd199b3.zip
Impliment initial mobileopengl2graphics as OpenGL ES 2 backend.
Diffstat (limited to 'src/resources/openglimagehelper.cpp')
-rw-r--r--src/resources/openglimagehelper.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/openglimagehelper.cpp b/src/resources/openglimagehelper.cpp
index b1ddc185e..d76336ced 100644
--- a/src/resources/openglimagehelper.cpp
+++ b/src/resources/openglimagehelper.cpp
@@ -310,7 +310,8 @@ Image *OpenGLImageHelper::glLoad(SDL_Surface *tmpImage,
SDL_LockSurface(tmpImage);
if (mUseOpenGL != RENDER_MODERN_OPENGL &&
- mUseOpenGL != RENDER_GLES_OPENGL)
+ mUseOpenGL != RENDER_GLES_OPENGL &&
+ mUseOpenGL != RENDER_GLES2_OPENGL)
{
glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);
}