From 88a5d08e912d37768f7edb203aca44e3080b29f6 Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Sat, 21 Jun 2014 19:29:35 +0200 Subject: [PATCH] Report opengl vendor and renderer. --- src/graphics/irr_driver.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/graphics/irr_driver.cpp b/src/graphics/irr_driver.cpp index 2f4291056..0bf9aa5e3 100644 --- a/src/graphics/irr_driver.cpp +++ b/src/graphics/irr_driver.cpp @@ -443,7 +443,10 @@ void IrrDriver::initDevice() glGetIntegerv(GL_MAJOR_VERSION, &GLMajorVersion); glGetIntegerv(GL_MINOR_VERSION, &GLMinorVersion); } - Log::info("IrrDriver", "OPENGL VERSION IS %d.%d", GLMajorVersion, GLMinorVersion); + Log::info("IrrDriver", "OpenGL version: %d.%d", GLMajorVersion, GLMinorVersion); + Log::info("IrrDriver", "OpenGL vendor: %s", glGetString(GL_VENDOR)); + Log::info("IrrDriver", "OpenGL renderer: %s", glGetString(GL_RENDERER)); + Log::info("IrrDriver", "OpenGL version string: %s", glGetString(GL_VERSION)); m_glsl = (GLMajorVersion > 3 || (GLMajorVersion == 3 && GLMinorVersion >= 1)); // Parse extensions