Fix error string

This commit is contained in:
Alan Hourihane 2008-04-22 20:28:35 +01:00
parent c8666cfb0b
commit 936dba1de5
1 changed files with 2 additions and 1 deletions

View File

@ -1520,8 +1520,9 @@ _mesa_execute_program(GLcontext * ctx,
case OPCODE_END:
return GL_TRUE;
default:
_mesa_problem(ctx, "Bad opcode %d in _mesa_exec_fragment_program",
_mesa_problem(ctx, "Bad opcode %d in _mesa_execute_program",
inst->Opcode);
assert(0);
return GL_TRUE; /* return value doesn't matter */
}