commit | 936dba1de5ca0d4252061c4a93674fad2d66d202 | [log] [tgz] |
---|---|---|
author | Alan Hourihane <alanh@tungstengraphics.com> | Tue Apr 22 20:28:35 2008 +0100 |
committer | Alan Hourihane <alanh@tungstengraphics.com> | Tue Apr 22 20:32:06 2008 +0100 |
tree | 58aaebf26a159025e83f8e3ff42694c2bb2dce85 | |
parent | c8666cfb0be7c36be66f7f14aa013c8afa1a9d38 [diff] [blame] |
Fix error string
diff --git a/src/mesa/shader/prog_execute.c b/src/mesa/shader/prog_execute.c index 7f9687c..cb17aa5 100644 --- a/src/mesa/shader/prog_execute.c +++ b/src/mesa/shader/prog_execute.c
@@ -1520,8 +1520,9 @@ 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 */ }