summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.cpp
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 /src/graphicsmanager.cpp
parent9a04261a671d076197ddb4abb52da583506c6fcc (diff)
downloadplus-9c32ca5adceec5f187bf058e2ab0a97f59efc08c.tar.gz
plus-9c32ca5adceec5f187bf058e2ab0a97f59efc08c.tar.bz2
plus-9c32ca5adceec5f187bf058e2ab0a97f59efc08c.tar.xz
plus-9c32ca5adceec5f187bf058e2ab0a97f59efc08c.zip
Fix wrong configuration if OpenGL detected less than 1.1 version.v1.4.7.5
Diffstat (limited to 'src/graphicsmanager.cpp')
-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)
{