update an assertion

This commit is contained in:
Brian Paul 2005-11-12 17:59:05 +00:00
parent bed8363aa6
commit e3636b4114
1 changed files with 1 additions and 1 deletions

View File

@ -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: