glsl: remove invalid _mesa_problem() call

Fixes fd.o bug 29206.
This commit is contained in:
Brian Paul
2010-07-22 16:35:43 -06:00
parent 815e79e72c
commit c20a3628c7

View File

@@ -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;
}