summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-05 18:41:14 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-05 18:41:14 +0300
commit9c32ca5adceec5f187bf058e2ab0a97f59efc08c (patch)
tree6d63c7054c59270cd2629e2e51387e205294480a
parent9a04261a671d076197ddb4abb52da583506c6fcc (diff)
downloadmanaplus-9c32ca5adceec5f187bf058e2ab0a97f59efc08c.tar.gz
manaplus-9c32ca5adceec5f187bf058e2ab0a97f59efc08c.tar.bz2
manaplus-9c32ca5adceec5f187bf058e2ab0a97f59efc08c.tar.xz
manaplus-9c32ca5adceec5f187bf058e2ab0a97f59efc08c.zip
Fix wrong configuration if OpenGL detected less than 1.1 version.v1.4.7.5
-rw-r--r--src/graphicsmanager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp
index af016fb34..b82994d67 100644
--- a/src/graphicsmanager.cpp
+++ b/src/graphicsmanager.cpp
@@ -866,7 +866,11 @@ void GraphicsManager::initOpenGLFunctions()
}
if (!is11)
+ {
+ mSupportModernOpengl = false;
+ emulateFunction(glTextureSubImage2D);
return;
+ }
if (isDao)
{