summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Carlier <lordheavym@gmail.com>2013-04-17 21:40:16 +0200
committerBrian Paul <brianp@vmware.com>2013-04-17 13:48:40 -0600
commit867f71db6bdb7abe07aa23e4a0d73ea563218152 (patch)
treef3933c222ca4bd1224bd9f617e7fae461b5ff451
parent107947548181da338accf0b0b9c6dea590c557ba (diff)
r200: fix build failure introduced with cbbcb0247e6aa8d7adc274a94206ee02f9c70bea
Signed-off-by: Brian Paul <brianp@vmware.com>
-rw-r--r--src/mesa/drivers/dri/r200/r200_swtcl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_swtcl.c b/src/mesa/drivers/dri/r200/r200_swtcl.c
index 274e3386b4..0f1e0139d8 100644
--- a/src/mesa/drivers/dri/r200/r200_swtcl.c
+++ b/src/mesa/drivers/dri/r200/r200_swtcl.c
@@ -257,7 +257,7 @@ void r200ChooseVertexState( struct gl_context *ctx )
* bigger one.
*/
if ((0 == (tnl->render_inputs_bitset & BITFIELD64_RANGE(_TNL_ATTRIB_TEX0, _TNL_NUM_TEX)))
- || (ctx->_TriangleCaps & DD_TRI_LIGHT_TWOSIDE)
+ || twosided
|| unfilled) {
rmesa->swtcl.needproj = GL_TRUE;
vte |= R200_VTX_XY_FMT | R200_VTX_Z_FMT;