diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-08 13:21:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-08 13:21:45 +0300 |
commit | 3b343e2c62fd8035cd0be24f63aaea3fb203d73e (patch) | |
tree | 92bc4b69459278768c57245c4a0a8315c9d57406 /src/graphicsmanager.h | |
parent | 7760ed560001714494d7a7de470123a4cd565873 (diff) | |
download | plus-3b343e2c62fd8035cd0be24f63aaea3fb203d73e.tar.gz plus-3b343e2c62fd8035cd0be24f63aaea3fb203d73e.tar.bz2 plus-3b343e2c62fd8035cd0be24f63aaea3fb203d73e.tar.xz plus-3b343e2c62fd8035cd0be24f63aaea3fb203d73e.zip |
Store OpenGL renderer and vendor in graphics manager.
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r-- | src/graphicsmanager.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/graphicsmanager.h b/src/graphicsmanager.h index 1a095422e..51c9a9efc 100644 --- a/src/graphicsmanager.h +++ b/src/graphicsmanager.h @@ -93,6 +93,8 @@ class GraphicsManager final bool getUseAtlases() const { return mUseAtlases; } + void logVersion(); + #ifdef USE_OPENGL bool isUseTextureSampler() const { return mUseTextureSampler; } @@ -104,7 +106,11 @@ class GraphicsManager final std::set<std::string> mPlatformExtensions; - std::string mVersionString; + std::string mGlVersionString; + + std::string mGlVendor; + + std::string mGlRenderer; int mMinor; |