Skip to content

Commit cd41999

Browse files
committed
Add OpenGL / GLSL version in console output.
1 parent 11e962c commit cd41999

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

AppWindow/AppWindow.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ AppWindow_new (char *window_name, int width, int height, bool fullscreen)
1616

1717
AppWindow_init (this, window_name, width, height, fullscreen);
1818

19+
printf("OpenGL %s, GLSL %s\n", glGetString(GL_VERSION),glGetString(GL_SHADING_LANGUAGE_VERSION));
1920
glewExperimental = GL_TRUE;
2021
if ((glewInit () != GLEW_OK)
2122
|| (glGenVertexArrays == NULL))

0 commit comments

Comments
 (0)