Move away from using the ctx->_TriangleCaps bitfield.
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 18 Sep 2003 23:21:08 +0000 (23:21 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 18 Sep 2003 23:21:08 +0000 (23:21 +0000)
commit29b4076f9acff96a867760fc885f5eaeb7586977
tree8257664555bea58b6f9f2ebc4e3d0f2ddce719c3
parent1a8ebb8c2f939609004a13b75d2b85236e709716
Move away from using the ctx->_TriangleCaps bitfield.
New macros in context.h for testing state: NEED_SECONDARY_COLOR
and NEED_TWO_SIDED_LIGHTING.
src/mesa/main/context.h
src/mesa/swrast/s_aatriangle.c
src/mesa/swrast/s_context.c
src/mesa/swrast/s_lines.c
src/mesa/swrast_setup/ss_triangle.c
src/mesa/swrast_setup/ss_vb.c
src/mesa/tnl/t_vb_render.c