mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00:00
Added support for the GLFW version string.
This commit is contained in:
parent
d6fe447ca9
commit
2bfa89ec17
@ -207,6 +207,8 @@ int main(int argc, char** argv)
|
||||
revision != GLFW_VERSION_REVISION)
|
||||
printf("*** WARNING: GLFW version mismatch! ***\n");
|
||||
|
||||
printf("GLFW library version string: \"%s\"\n", glfwGetVersionString());
|
||||
|
||||
// Report OpenGL version
|
||||
|
||||
printf("OpenGL context version string: \"%s\"\n", glGetString(GL_VERSION));
|
||||
|
Loading…
Reference in New Issue
Block a user