diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-10 19:30:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-11 01:47:16 +0300 |
commit | 5e460c2c47e85a5ec70e0979750170ec6cd199b3 (patch) | |
tree | e3d56ca117fd24c9c916df5589001c8cb960f1f1 /src/resources | |
parent | c5a6f80e62fd9836a75058ac358d39dd5ec956b5 (diff) | |
download | plus-5e460c2c47e85a5ec70e0979750170ec6cd199b3.tar.gz plus-5e460c2c47e85a5ec70e0979750170ec6cd199b3.tar.bz2 plus-5e460c2c47e85a5ec70e0979750170ec6cd199b3.tar.xz plus-5e460c2c47e85a5ec70e0979750170ec6cd199b3.zip |
Impliment initial mobileopengl2graphics as OpenGL ES 2 backend.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/openglimagehelper.cpp | 3 |
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); } |