OSDN Git Service

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 7f9687c..cb17aa5 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 */
 
       }