summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-19 00:30:56 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-19 00:30:56 +0300
commit6df4fbf165fdc4259c55e8b4d78de2294d6bb059 (patch)
tree02ccbf8421483768b0cd3cc7ab0f9a14989ccb7a /src/graphicsmanager.h
parent3774c37754485ff0ee6f0d9b7573505ba035ab65 (diff)
downloadplus-6df4fbf165fdc4259c55e8b4d78de2294d6bb059.tar.gz
plus-6df4fbf165fdc4259c55e8b4d78de2294d6bb059.tar.bz2
plus-6df4fbf165fdc4259c55e8b4d78de2294d6bb059.tar.xz
plus-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.h2
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;
};