Fix comment about MaxTextureUnits, needs to be min of coord and image units.
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 13 Apr 2006 19:21:58 +0000 (19:21 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 13 Apr 2006 19:21:58 +0000 (19:21 +0000)
commitda238ee06a8d169eb590aa5e50998136f1b5aba5
tree5900bcd798bb50b2ba4582f828624fde8df49baf
parent564b2aa2ef8d5b859bb51d39024373a4865e93e9
Fix comment about MaxTextureUnits, needs to be min of coord and image units.
See bug 5994.
Also add a few assertions.
Use MaxTextureUnits in get.c code.
There's probably other places where we need to clean-up the usage of the
MaxTexture[Coord/Image]Units constants.
src/mesa/main/config.h
src/mesa/main/context.c
src/mesa/main/get.c
src/mesa/main/get_gen.py
src/mesa/main/mtypes.h