diff options
author | Alan Hourihane <[email protected]> | 2008-04-22 20:28:35 +0100 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2008-04-22 20:32:06 +0100 |
commit | 936dba1de5ca0d4252061c4a93674fad2d66d202 (patch) | |
tree | 58aaebf26a159025e83f8e3ff42694c2bb2dce85 /src | |
parent | c8666cfb0be7c36be66f7f14aa013c8afa1a9d38 (diff) |
Fix error string
Diffstat (limited to 'src')
-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 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 */ } |