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/graphics.cpp | |
parent | 7760ed560001714494d7a7de470123a4cd565873 (diff) | |
download | manaplus-3b343e2c62fd8035cd0be24f63aaea3fb203d73e.tar.gz manaplus-3b343e2c62fd8035cd0be24f63aaea3fb203d73e.tar.bz2 manaplus-3b343e2c62fd8035cd0be24f63aaea3fb203d73e.tar.xz manaplus-3b343e2c62fd8035cd0be24f63aaea3fb203d73e.zip |
Store OpenGL renderer and vendor in graphics manager.
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r-- | src/graphics.cpp | 5 |
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); |