diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-05 18:41:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-05 18:41:14 +0300 |
commit | 9c32ca5adceec5f187bf058e2ab0a97f59efc08c (patch) | |
tree | 6d63c7054c59270cd2629e2e51387e205294480a /src/graphicsmanager.cpp | |
parent | 9a04261a671d076197ddb4abb52da583506c6fcc (diff) | |
download | manaverse-9c32ca5adceec5f187bf058e2ab0a97f59efc08c.tar.gz manaverse-9c32ca5adceec5f187bf058e2ab0a97f59efc08c.tar.bz2 manaverse-9c32ca5adceec5f187bf058e2ab0a97f59efc08c.tar.xz manaverse-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.cpp | 4 |
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) { |