progs/util: warn when GLSL not supported

This commit is contained in:
Brian Paul
2009-11-17 19:22:11 -07:00
parent 5606dfb572
commit 6acb82dab0

View File

@@ -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;
}