summaryrefslogtreecommitdiff
path: root/src/mesa/shader/nvvertexec.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-11-12 17:56:18 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-11-12 17:56:18 +0000
commitbed8363aa6ab9f3dbd8052acc8c12d3de14f1399 (patch)
treef5a7f9961456bad06b28db5b34413f7e73b6291f /src/mesa/shader/nvvertexec.c
parentde99760bf3511d05185799c4fb4347f9e5f420f4 (diff)
update some assertions
Diffstat (limited to 'src/mesa/shader/nvvertexec.c')
-rw-r--r--src/mesa/shader/nvvertexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/nvvertexec.c b/src/mesa/shader/nvvertexec.c
index a413dcbc29..0e0e459b28 100644
--- a/src/mesa/shader/nvvertexec.c
+++ b/src/mesa/shader/nvvertexec.c
@@ -260,7 +260,7 @@ get_register_pointer( const struct prog_src_register *source,
ASSERT(source->Index < MAX_NV_VERTEX_PROGRAM_PARAMS);
return state->Parameters[source->Index];
case PROGRAM_STATE_VAR:
- ASSERT(source->Index < state->Current->Parameters->NumParameters);
+ ASSERT(source->Index < state->Current->Base.Parameters->NumParameters);
return state->Current->Base.Parameters->ParameterValues[source->Index];
default:
_mesa_problem(NULL,