summaryrefslogtreecommitdiff
path: root/progs/util
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-11-04 15:19:28 -0700
committerBrian Paul <brian.paul@tungstengraphics.com>2008-11-04 16:55:18 -0700
commit35a9f1bccf2284c853cd20ccf2192ebc382a4706 (patch)
tree03f46fe95a0e133f6c04ebc1a9469b8601203ad8 /progs/util
parentd3222cb1d465cf49ff5b2119f7515c5f57024964 (diff)
print err msg if unable to open shader file
Diffstat (limited to 'progs/util')
-rw-r--r--progs/util/shaderutil.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/util/shaderutil.c b/progs/util/shaderutil.c
index 4f17dd7efa..745851395a 100644
--- a/progs/util/shaderutil.c
+++ b/progs/util/shaderutil.c
@@ -80,6 +80,7 @@ CompileShaderFile(GLenum shaderType, const char *filename)
FILE *f = fopen(filename, "r");
if (!f) {
+ fprintf(stderr, "Unable to open shader file %s\n", filename);
return 0;
}