summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-11-17 19:22:11 -0700
committerBrian Paul <brianp@vmware.com>2009-11-17 19:22:11 -0700
commit6acb82dab0056f0d5f3522c7b063db8024ef81d8 (patch)
tree56502d27b73e18647450af76e6fbcf8eb7534a91
parent5606dfb572bf4b89b4882265924705bacc8c182b (diff)
progs/util: warn when GLSL not supported
-rw-r--r--progs/util/shaderutil.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/util/shaderutil.c b/progs/util/shaderutil.c
index aebf23a78c..4fb3199a19 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;
}