summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
diff options
context:
space:
mode:
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);