summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-08 13:21:45 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-08 13:21:45 +0300
commit3b343e2c62fd8035cd0be24f63aaea3fb203d73e (patch)
tree92bc4b69459278768c57245c4a0a8315c9d57406 /src/graphicsmanager.h
parent7760ed560001714494d7a7de470123a4cd565873 (diff)
downloadmv-3b343e2c62fd8035cd0be24f63aaea3fb203d73e.tar.gz
mv-3b343e2c62fd8035cd0be24f63aaea3fb203d73e.tar.bz2
mv-3b343e2c62fd8035cd0be24f63aaea3fb203d73e.tar.xz
mv-3b343e2c62fd8035cd0be24f63aaea3fb203d73e.zip
Store OpenGL renderer and vendor in graphics manager.
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r--src/graphicsmanager.h8
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;