mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
update an assertion
This commit is contained in:
parent
bed8363aa6
commit
e3636b4114
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue