summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-25 18:35:05 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-25 18:35:05 +0300
commit201fd8962f269dbe1aeacd7185720ec86e2ac5b7 (patch)
tree1d728ec33a064287335ef276a26cc26eabe8ea75 /src/graphicsmanager.h
parent84d56b88a03054d35b84dc1ecbd7ad4614f8ac86 (diff)
downloadmv-201fd8962f269dbe1aeacd7185720ec86e2ac5b7.tar.gz
mv-201fd8962f269dbe1aeacd7185720ec86e2ac5b7.tar.bz2
mv-201fd8962f269dbe1aeacd7185720ec86e2ac5b7.tar.xz
mv-201fd8962f269dbe1aeacd7185720ec86e2ac5b7.zip
Add shaders version logging and checking.
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r--src/graphicsmanager.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/graphicsmanager.h b/src/graphicsmanager.h
index c50645942..455632d07 100644
--- a/src/graphicsmanager.h
+++ b/src/graphicsmanager.h
@@ -113,6 +113,9 @@ class GraphicsManager final
bool checkGLVersion(const int major, const int minor)
const A_WARN_UNUSED;
+ bool checkSLVersion(const int major, const int minor)
+ const A_WARN_UNUSED;
+
bool checkPlatformVersion(const int major, const int minor)
const A_WARN_UNUSED;
@@ -181,14 +184,18 @@ class GraphicsManager final
std::string mGlRenderer;
+ std::string mGlShaderVersionString;
#ifdef USE_OPENGL
static GLenum mLastError;
#endif
-
int mMinor;
int mMajor;
+ int mSLMinor;
+
+ int mSLMajor;
+
int mPlatformMinor;
int mPlatformMajor;