From: Alan Hourihane Date: Tue, 22 Apr 2008 19:28:35 +0000 (+0100) Subject: Fix error string X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=936dba1de5ca0d4252061c4a93674fad2d66d202;p=mesa.git Fix error string --- diff --git a/src/mesa/shader/prog_execute.c b/src/mesa/shader/prog_execute.c index 7f9687c36fc..cb17aa501ce 100644 --- a/src/mesa/shader/prog_execute.c +++ b/src/mesa/shader/prog_execute.c @@ -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 */ }