Instead of testing ctx->_TriangleCaps for flat/smooth shading, just use ctx->Light...
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 20 Jul 2006 04:16:26 +0000 (04:16 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 20 Jul 2006 04:16:26 +0000 (04:16 +0000)
commita1a6ac4af4ba5b1da7c768d892b84cb1204c4c7f
tree18fced2177ddbc2de0234101c4164df66e1835b5
parent4e2de9531e4869edf12536c2cb37d3145ee4065c
Instead of testing ctx->_TriangleCaps for flat/smooth shading, just use ctx->Light.ShadeModel
src/mesa/tnl_dd/t_dd_dmatmp.h
src/mesa/tnl_dd/t_dd_dmatmp2.h
src/mesa/tnl_dd/t_dd_unfilled.h