fix typo in assertions
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 1 Jul 2005 01:30:03 +0000 (01:30 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 1 Jul 2005 01:30:03 +0000 (01:30 +0000)
src/mesa/shader/nvvertexec.c

index c294bca5c276fc482e793a5f9a012c5c2da50598..725e3ec9cd590663066297c162dbab4e1aede0d8 100644 (file)
@@ -145,7 +145,7 @@ _mesa_init_vp_per_primitive_registers(GLcontext *ctx)
          }
          else if (ctx->VertexProgram.TrackMatrixTransform[i] == GL_INVERSE_NV) {
             _math_matrix_analyse(mat); /* update the inverse */
-            ASSERT(!math_matrix_is_dirty(mat));
+            ASSERT(!_math_matrix_is_dirty(mat));
             load_matrix(ctx->VertexProgram.Parameters, i*4, mat->inv);
          }
          else if (ctx->VertexProgram.TrackMatrixTransform[i] == GL_TRANSPOSE_NV) {
@@ -155,7 +155,7 @@ _mesa_init_vp_per_primitive_registers(GLcontext *ctx)
             assert(ctx->VertexProgram.TrackMatrixTransform[i]
                    == GL_INVERSE_TRANSPOSE_NV);
             _math_matrix_analyse(mat); /* update the inverse */
-            ASSERT(!math_matrix_is_dirty(mat));
+            ASSERT(!_math_matrix_is_dirty(mat));
             load_transpose_matrix(ctx->VertexProgram.Parameters, i*4, mat->inv);
          }
       }