Fix error string
authorAlan Hourihane <alanh@tungstengraphics.com>
Tue, 22 Apr 2008 19:28:35 +0000 (20:28 +0100)
committerAlan Hourihane <alanh@tungstengraphics.com>
Tue, 22 Apr 2008 19:32:06 +0000 (20:32 +0100)
src/mesa/shader/prog_execute.c

index 7f9687c36fc0bb640698a4b1cdf69eaad4a9a4ce..cb17aa501ce525a38cffc3fa71c6aa8613133463 100644 (file)
@@ -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 */
 
       }