From 35a9f1bccf2284c853cd20ccf2192ebc382a4706 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 4 Nov 2008 15:19:28 -0700 Subject: [PATCH] print err msg if unable to open shader file --- progs/util/shaderutil.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.30.2