progs/util: warn when GLSL not supported
This commit is contained in:
parent
5606dfb572
commit
6acb82dab0
|
@ -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…
Reference in New Issue