diff options
author | Brian <brian@yutani.localnet.net> | 2007-02-22 16:02:18 -0700 |
---|---|---|
committer | Brian <brian@yutani.localnet.net> | 2007-02-22 16:02:18 -0700 |
commit | fd89396012bf4e2f36315e79ee180f0ca4eaf32e (patch) | |
tree | 0663e0057124df7e6c8cbf8d02a4cc1a3be41623 /src/mesa/shader | |
parent | 7c86e10193491a36433104a5f1f0f4cf37a6333f (diff) |
fix assertion
Diffstat (limited to 'src/mesa/shader')
-rw-r--r-- | src/mesa/shader/nvvertexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/nvvertexec.c b/src/mesa/shader/nvvertexec.c index cf7b3d448d..7dc0edbd9e 100644 --- a/src/mesa/shader/nvvertexec.c +++ b/src/mesa/shader/nvvertexec.c @@ -268,7 +268,7 @@ get_register_pointer( GLcontext *ctx, return machine->Inputs[source->Index]; case PROGRAM_OUTPUT: /* This is only needed for the PRINT instruction */ - ASSERT(source->Index < MAX_NV_VERTEX_PROGRAM_OUTPUTS); + ASSERT(source->Index < VERT_RESULT_MAX); return machine->Outputs[source->Index]; case PROGRAM_LOCAL_PARAM: ASSERT(source->Index < MAX_PROGRAM_LOCAL_PARAMS); |