summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2008-04-22 20:28:35 +0100
committerAlan Hourihane <alanh@tungstengraphics.com>2008-04-22 20:32:06 +0100
commit936dba1de5ca0d4252061c4a93674fad2d66d202 (patch)
tree58aaebf26a159025e83f8e3ff42694c2bb2dce85 /src
parentc8666cfb0be7c36be66f7f14aa013c8afa1a9d38 (diff)
Fix error string
Diffstat (limited to 'src')
-rw-r--r--src/mesa/shader/prog_execute.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/shader/prog_execute.c b/src/mesa/shader/prog_execute.c
index 7f9687c36f..cb17aa501c 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 */
}