diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-05-01 22:44:02 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-05-01 22:44:02 +0000 |
commit | 92f9785c727ea10ff5f8dc9770f0e8f388fcea70 (patch) | |
tree | 10335899a8205128723f6b459d827e918bbc2d86 /src/mesa/tnl/t_imm_dlist.c | |
parent | 09b00c5ded8e6211c9c79be600bb8c8ecad0d8fc (diff) |
Use ctx->Const.MaxTextureImageUnits and MaxTextureCoordUnits in more places.
Misc vertex array / vertex program changes.
Diffstat (limited to 'src/mesa/tnl/t_imm_dlist.c')
-rw-r--r-- | src/mesa/tnl/t_imm_dlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_imm_dlist.c b/src/mesa/tnl/t_imm_dlist.c index 5d7cd47499..3efe61592f 100644 --- a/src/mesa/tnl/t_imm_dlist.c +++ b/src/mesa/tnl/t_imm_dlist.c @@ -597,7 +597,7 @@ loopback_compiled_cassette( GLcontext *ctx, struct immediate *IM ) vertex = (void (GLAPIENTRY *)(const GLfloat *)) glVertex3fv; if (orflag & VERT_BITS_TEX_ANY) { - for (j = 0 ; j < ctx->Const.MaxTextureUnits ; j++) { + for (j = 0 ; j < ctx->Const.MaxTextureCoordUnits ; j++) { if (orflag & VERT_BIT_TEX(j)) { maxtex = j+1; if ((IM->TexSize & TEX_SIZE_4(j)) == TEX_SIZE_4(j)) |