diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-19 00:30:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-19 00:30:56 +0300 |
commit | 6df4fbf165fdc4259c55e8b4d78de2294d6bb059 (patch) | |
tree | 02ccbf8421483768b0cd3cc7ab0f9a14989ccb7a /src/graphicsmanager.h | |
parent | 3774c37754485ff0ee6f0d9b7573505ba035ab65 (diff) | |
download | manaverse-6df4fbf165fdc4259c55e8b4d78de2294d6bb059.tar.gz manaverse-6df4fbf165fdc4259c55e8b4d78de2294d6bb059.tar.bz2 manaverse-6df4fbf165fdc4259c55e8b4d78de2294d6bb059.tar.xz manaverse-6df4fbf165fdc4259c55e8b4d78de2294d6bb059.zip |
Check if all OpenGL extensions supported for modernopengl.
If not fallback to normalopengl.
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r-- | src/graphicsmanager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/graphicsmanager.h b/src/graphicsmanager.h index a0af8c41b..d71fdc8a0 100644 --- a/src/graphicsmanager.h +++ b/src/graphicsmanager.h @@ -213,6 +213,8 @@ class GraphicsManager final GLuint mTextureSampler; int mSupportDebug; + + bool mSupportModernOpengl; #endif bool mUseAtlases; }; |