summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r--src/graphics.cpp2
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");