diff options
author | Alan Hourihane <alanh@tungstengraphics.com> | 2008-04-22 20:28:35 +0100 |
---|---|---|
committer | Alan Hourihane <alanh@tungstengraphics.com> | 2008-04-22 20:28:35 +0100 |
commit | 534f30064daf380db3b624c7fc1d4c8f635556b8 (patch) | |
tree | 2a43214e0936a7313aa8d586a56d446d145cd09a | |
parent | 6c9e1b233745a376a07cedf802f70c8a4276fcd7 (diff) |
Fix error string
-rw-r--r-- | src/mesa/shader/prog_execute.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/shader/prog_execute.c b/src/mesa/shader/prog_execute.c index f4a12af3e4..4a89d8951e 100644 --- a/src/mesa/shader/prog_execute.c +++ b/src/mesa/shader/prog_execute.c @@ -1519,8 +1519,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 */ } |