From: Brian Paul Date: Tue, 4 Nov 2008 22:19:28 +0000 (-0700) Subject: print err msg if unable to open shader file X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=35a9f1bccf2284c853cd20ccf2192ebc382a4706;p=mesa.git print err msg if unable to open shader file --- diff --git a/progs/util/shaderutil.c b/progs/util/shaderutil.c index 4f17dd7efa1..745851395a7 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; }