diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-25 18:35:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-25 18:35:05 +0300 |
commit | 201fd8962f269dbe1aeacd7185720ec86e2ac5b7 (patch) | |
tree | 1d728ec33a064287335ef276a26cc26eabe8ea75 /src/graphicsmanager.h | |
parent | 84d56b88a03054d35b84dc1ecbd7ad4614f8ac86 (diff) | |
download | manaplus-201fd8962f269dbe1aeacd7185720ec86e2ac5b7.tar.gz manaplus-201fd8962f269dbe1aeacd7185720ec86e2ac5b7.tar.bz2 manaplus-201fd8962f269dbe1aeacd7185720ec86e2ac5b7.tar.xz manaplus-201fd8962f269dbe1aeacd7185720ec86e2ac5b7.zip |
Add shaders version logging and checking.
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r-- | src/graphicsmanager.h | 9 |
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; |