From: Brian Paul Date: Wed, 18 Nov 2009 02:22:11 +0000 (-0700) Subject: progs/util: warn when GLSL not supported X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6acb82dab0056f0d5f3522c7b063db8024ef81d8;p=mesa.git progs/util: warn when GLSL not supported --- diff --git a/progs/util/shaderutil.c b/progs/util/shaderutil.c index aebf23a78c8..4fb3199a190 100644 --- a/progs/util/shaderutil.c +++ b/progs/util/shaderutil.c @@ -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; }