summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-07-22 16:35:43 -0600
committerBrian Paul <brianp@vmware.com>2010-07-22 16:35:46 -0600
commitc20a3628c7c6b7c41efe309b712bf93eb4e92039 (patch)
tree3cf5d04a95648839233fc9023b5fa174a5aed3af
parent815e79e72c1f4aa849c0ee6103621685b678bc9d (diff)
glsl: remove invalid _mesa_problem() call
Fixes fd.o bug 29206.
-rw-r--r--src/mesa/slang/slang_codegen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/slang/slang_codegen.c b/src/mesa/slang/slang_codegen.c
index 11a9074d1e..95787e4409 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;
}