From 3b343e2c62fd8035cd0be24f63aaea3fb203d73e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 8 Oct 2012 13:21:45 +0300 Subject: Store OpenGL renderer and vendor in graphics manager. --- src/graphics.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/graphics.cpp') 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); -- cgit v1.2.3-60-g2f50