From: Laurent Carlier Date: Wed, 17 Apr 2013 19:40:16 +0000 (+0200) Subject: r200: fix build failure introduced with cbbcb0247e6aa8d7adc274a94206ee02f9c70bea X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=867f71db6bdb7abe07aa23e4a0d73ea563218152;p=mesa.git r200: fix build failure introduced with cbbcb0247e6aa8d7adc274a94206ee02f9c70bea Signed-off-by: Brian Paul --- diff --git a/src/mesa/drivers/dri/r200/r200_swtcl.c b/src/mesa/drivers/dri/r200/r200_swtcl.c index 274e3386b4a..0f1e0139d80 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;