Replace ctx->Const.MaxTextureUnits w/ ctx->Const.MaxTexture[Coord/Image]Units
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 14 Apr 2006 02:20:18 +0000 (02:20 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 14 Apr 2006 02:20:18 +0000 (02:20 +0000)
commitee4e75bd6f768b7210436feeb32b4545ed62e025
tree2684654e69d43aa244fc6082717523da202aa43e
parent1d886a81add08536f18d2453ae38fcac79f0b806
Replace ctx->Const.MaxTextureUnits w/ ctx->Const.MaxTexture[Coord/Image]Units
in various places.
Note that ctx->Texture.CurrentUnit needs to be tested against Coord/Image
limits when referenced, not just in glActiveTexture().
src/mesa/main/matrix.c
src/mesa/main/mtypes.h
src/mesa/main/texstate.c
src/mesa/swrast/s_context.c
src/mesa/swrast/s_span.c
src/mesa/tnl/t_array_api.c
src/mesa/tnl/t_vb_arbprogram.c
src/mesa/tnl/t_vb_arbshader.c
src/mesa/tnl/t_vb_program.c