instead of messing with _TNL_LAST_GENERIC and _TNL_FIRST_GENERIC, use _TNL_NUM_GENERI...
authorTilman Sauerbeck <tilman@freedesktop.org>
Thu, 29 Jun 2006 16:48:45 +0000 (16:48 +0000)
committerTilman Sauerbeck <tilman@freedesktop.org>
Thu, 29 Jun 2006 16:48:45 +0000 (16:48 +0000)
commitff3a5b1842bf26783a487674c5ff4cb40f405f25
treec2f496c0caabff36e50227dd625f84fa15633cde
parent8ca6250d724edb74f1ca980e2dcc8a6dfdf073c4
instead of messing with _TNL_LAST_GENERIC and _TNL_FIRST_GENERIC, use _TNL_NUM_GENERIC. this fixes an off-by-one error (we didn't handle the final attribute)
src/mesa/drivers/dri/r300/r300_context.h
src/mesa/drivers/dri/r300/r300_maos.c