diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-25 21:43:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-26 13:48:26 +0300 |
commit | 9abb51fce0cca32ebe267c4797363d99520c2a0a (patch) | |
tree | e0a22c5dc699fdd0f85d04ff1aa96196cc8d43ac /src/graphics.cpp | |
parent | 5ff486002243e1481e6686494a85480a85220451 (diff) | |
download | mv-9abb51fce0cca32ebe267c4797363d99520c2a0a.tar.gz mv-9abb51fce0cca32ebe267c4797363d99520c2a0a.tar.bz2 mv-9abb51fce0cca32ebe267c4797363d99520c2a0a.tar.xz mv-9abb51fce0cca32ebe267c4797363d99520c2a0a.zip |
Add initial version of mobile OpenGL backend.
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r-- | src/graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics.cpp b/src/graphics.cpp index 9f45899f5..4c1d4e832 100644 --- a/src/graphics.cpp +++ b/src/graphics.cpp @@ -174,7 +174,7 @@ bool Graphics::setOpenGLMode() bool rectTex = graphicsManager.supportExtension( "GL_ARB_texture_rectangle"); if (rectTex && OpenGLImageHelper::getInternalTextureType() == 4 - && config.getBoolValue("rectangulartextures") + && getOpenGL() != 3 && config.getBoolValue("rectangulartextures") && !graphicsManager.isUseTextureSampler()) { logger->log1("using GL_ARB_texture_rectangle"); |