From c20a3628c7c6b7c41efe309b712bf93eb4e92039 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 22 Jul 2010 16:35:43 -0600 Subject: [PATCH] glsl: remove invalid _mesa_problem() call Fixes fd.o bug 29206. --- src/mesa/slang/slang_codegen.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/slang/slang_codegen.c b/src/mesa/slang/slang_codegen.c index 11a9074d1ec..95787e4409b 100644 --- a/src/mesa/slang/slang_codegen.c +++ b/src/mesa/slang/slang_codegen.c @@ -1047,8 +1047,10 @@ slang_substitute(slang_assemble_ctx *A, slang_operation *oper, GLuint i; v = _slang_variable_locate(oper->locals, id, GL_TRUE); if (!v) { +#if 0 if (strcmp((char *) oper->a_id, "__notRetFlag")) _mesa_problem(NULL, "var %s not found!\n", (char *) oper->a_id); +#endif return; } -- 2.30.2