summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
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/graphics.cpp
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/graphics.cpp')
-rw-r--r--src/graphics.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/graphics.cpp b/src/graphics.cpp
index 4580c1015..9f45899f5 100644
--- a/src/graphics.cpp
+++ b/src/graphics.cpp
@@ -154,9 +154,8 @@ bool Graphics::setOpenGLMode()
}
#endif
- graphicsManager.logString("gl vendor: %s", GL_VENDOR);
- graphicsManager.logString("gl renderer: %s", GL_RENDERER);
- graphicsManager.logString("gl version: %s", GL_VERSION);
+ graphicsManager.setGLVersion();
+ graphicsManager.logVersion();
// Setup OpenGL
glViewport(0, 0, mWidth, mHeight);