projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5606dfb
)
progs/util: warn when GLSL not supported
author
Brian Paul
<brianp@vmware.com>
Wed, 18 Nov 2009 02:22:11 +0000
(19:22 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 18 Nov 2009 02:22:11 +0000
(19:22 -0700)
progs/util/shaderutil.c
patch
|
blob
|
history
diff --git
a/progs/util/shaderutil.c
b/progs/util/shaderutil.c
index aebf23a78c8cabfa3bd7270ce4a82906e7c85bb4..4fb3199a190ae7821a67e152a44312459268bd0e 100644
(file)
--- 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;
}