summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-11-12 17:59:05 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-11-12 17:59:05 +0000
commite3636b4114327411a3ff7590a61a652d10c18a34 (patch)
treeb3b748291a5900923482d4f532b118184d09f353
parentbed8363aa6ab9f3dbd8052acc8c12d3de14f1399 (diff)
update an assertion
-rw-r--r--src/mesa/swrast/s_nvfragprog.c2
1 files changed, 1 insertions, 1 deletions
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: