Print OpenGL/GLSL version on startup
This commit is contained in:
parent
563ee9292c
commit
87c88f543b
@ -207,6 +207,7 @@ int video_init(void)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
printf("OpenGL %s, GLSL %s\n", glGetString(GL_VERSION), glGetString(GL_SHADING_LANGUAGE_VERSION));
|
||||||
if(!GLAD_GL_VERSION_2_0)
|
if(!GLAD_GL_VERSION_2_0)
|
||||||
{
|
{
|
||||||
SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR,
|
SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user