From 9abb51fce0cca32ebe267c4797363d99520c2a0a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 25 Oct 2012 21:43:32 +0300 Subject: Add initial version of mobile OpenGL backend. --- src/graphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/graphics.cpp') 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"); -- cgit v1.2.3-70-g09d2