Demote GLEW version message to LOG_3D/crashdumps.

Also remove a few spaces before colons.
master
cybersphinx 2011-04-10 22:56:11 +02:00
parent 1308a2d35e
commit 8f2ac8e0c8
1 changed files with 9 additions and 7 deletions

View File

@ -68,14 +68,13 @@ bool screenInitialise()
debug(LOG_FATAL, "Error: %s", glewGetErrorString(err));
exit(1);
}
info("Status: Using GLEW %s", glewGetString(GLEW_VERSION));
// Copy this info to be used by the crash handler for the dump file
ssprintf(buf, "OpenGL Vendor : %s", glGetString(GL_VENDOR));
ssprintf(buf, "OpenGL Vendor: %s", glGetString(GL_VENDOR));
addDumpInfo(buf);
ssprintf(buf, "OpenGL Renderer : %s", glGetString(GL_RENDERER));
ssprintf(buf, "OpenGL Renderer: %s", glGetString(GL_RENDERER));
addDumpInfo(buf);
ssprintf(buf, "OpenGL Version : %s", glGetString(GL_VERSION));
ssprintf(buf, "OpenGL Version: %s", glGetString(GL_VERSION));
addDumpInfo(buf);
if (GL_VERSION_2_0)
{
@ -83,13 +82,16 @@ bool screenInitialise()
addDumpInfo(buf);
}
/* Dump general information about OpenGL implementation to the console and the dump file */
ssprintf(buf, "OpenGL Vendor : %s", glGetString(GL_VENDOR));
ssprintf(buf, "OpenGL Vendor: %s", glGetString(GL_VENDOR));
addDumpInfo(buf);
debug(LOG_3D, "%s", buf);
ssprintf(buf, "OpenGL Renderer : %s", glGetString(GL_RENDERER));
ssprintf(buf, "OpenGL Renderer: %s", glGetString(GL_RENDERER));
addDumpInfo(buf);
debug(LOG_3D, "%s", buf);
ssprintf(buf, "OpenGL Version : %s", glGetString(GL_VERSION));
ssprintf(buf, "OpenGL Version: %s", glGetString(GL_VERSION));
addDumpInfo(buf);
debug(LOG_3D, "%s", buf);
ssprintf(buf, "GLEW Version: %s", glewGetString(GLEW_VERSION));
addDumpInfo(buf);
debug(LOG_3D, "%s", buf);