summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-02 20:53:21 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-02 20:53:21 +0300
commitbf9c889b9ce882ff3ddb357c691942e520b1aa2a (patch)
treee8d4848666926be24c83b92f0934d018ec03c42e /src/graphicsmanager.h
parent8dcb524443a82506b522344f3d4353769f51883c (diff)
downloadmanaverse-bf9c889b9ce882ff3ddb357c691942e520b1aa2a.tar.gz
manaverse-bf9c889b9ce882ff3ddb357c691942e520b1aa2a.tar.bz2
manaverse-bf9c889b9ce882ff3ddb357c691942e520b1aa2a.tar.xz
manaverse-bf9c889b9ce882ff3ddb357c691942e520b1aa2a.zip
Add command /dumpgl to show OpenGL version string in chat.
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r--src/graphicsmanager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/graphicsmanager.h b/src/graphicsmanager.h
index d3a9fe46d..7629408be 100644
--- a/src/graphicsmanager.h
+++ b/src/graphicsmanager.h
@@ -153,6 +153,9 @@ class GraphicsManager final
static std::string errorToString(const GLenum error) A_WARN_UNUSED;
void updateDebugLog() const;
+
+ std::string getGLVersion()
+ { return mGlVersionString; }
#endif
private: