From e3636b4114327411a3ff7590a61a652d10c18a34 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 12 Nov 2005 17:59:05 +0000 Subject: update an assertion --- src/mesa/swrast/s_nvfragprog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/swrast/s_nvfragprog.c b/src/mesa/swrast/s_nvfragprog.c index feb7939081..9e35f4e425 100644 --- a/src/mesa/swrast/s_nvfragprog.c +++ b/src/mesa/swrast/s_nvfragprog.c @@ -134,7 +134,7 @@ get_register_pointer( GLcontext *ctx, case PROGRAM_STATE_VAR: /* Fallthrough */ case PROGRAM_NAMED_PARAM: - ASSERT(source->Index < (GLint) program->Parameters->NumParameters); + ASSERT(source->Index < (GLint) program->Base.Parameters->NumParameters); src = program->Base.Parameters->ParameterValues[source->Index]; break; default: -- cgit v1.2.3