Added support for the GLFW version string.

This commit is contained in:
Camilla Berglund 2010-09-13 18:06:59 +02:00
parent d6fe447ca9
commit 2bfa89ec17

View File

@ -207,6 +207,8 @@ int main(int argc, char** argv)
revision != GLFW_VERSION_REVISION) revision != GLFW_VERSION_REVISION)
printf("*** WARNING: GLFW version mismatch! ***\n"); printf("*** WARNING: GLFW version mismatch! ***\n");
printf("GLFW library version string: \"%s\"\n", glfwGetVersionString());
// Report OpenGL version // Report OpenGL version
printf("OpenGL context version string: \"%s\"\n", glGetString(GL_VERSION)); printf("OpenGL context version string: \"%s\"\n", glGetString(GL_VERSION));