glsl: remove invalid _mesa_problem() call
Fixes fd.o bug 29206.
This commit is contained in:
@@ -1047,8 +1047,10 @@ slang_substitute(slang_assemble_ctx *A, slang_operation *oper,
|
|||||||
GLuint i;
|
GLuint i;
|
||||||
v = _slang_variable_locate(oper->locals, id, GL_TRUE);
|
v = _slang_variable_locate(oper->locals, id, GL_TRUE);
|
||||||
if (!v) {
|
if (!v) {
|
||||||
|
#if 0
|
||||||
if (strcmp((char *) oper->a_id, "__notRetFlag"))
|
if (strcmp((char *) oper->a_id, "__notRetFlag"))
|
||||||
_mesa_problem(NULL, "var %s not found!\n", (char *) oper->a_id);
|
_mesa_problem(NULL, "var %s not found!\n", (char *) oper->a_id);
|
||||||
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user