mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 04:50:11 +01:00
progs/util: warn when GLSL not supported
This commit is contained in:
parent
5606dfb572
commit
6acb82dab0
1 changed files with 2 additions and 1 deletions
|
|
@ -34,7 +34,8 @@ ShadersSupported(void)
|
|||
fprintf(stderr, "Warning: Trying ARB GLSL instead of OpenGL 2.x. This may not work.\n");
|
||||
return GL_TRUE;
|
||||
}
|
||||
return GL_TRUE;
|
||||
fprintf(stderr, "Sorry, GLSL not supported with this OpenGL.\n");
|
||||
return GL_FALSE;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue