projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3222cb
)
print err msg if unable to open shader file
author
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 4 Nov 2008 22:19:28 +0000
(15:19 -0700)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 4 Nov 2008 23:55:18 +0000
(16:55 -0700)
progs/util/shaderutil.c
patch
|
blob
|
history
diff --git
a/progs/util/shaderutil.c
b/progs/util/shaderutil.c
index 4f17dd7efa15ae8fefdaac1b90338a56956b5ab0..745851395a735ddbacb1e9b5b6571ebbb7957984 100644
(file)
--- 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;
}