r200: fix build failure introduced with cbbcb0247e6aa8d7adc274a94206ee02f9c70bea
authorLaurent Carlier <lordheavym@gmail.com>
Wed, 17 Apr 2013 19:40:16 +0000 (21:40 +0200)
committerBrian Paul <brianp@vmware.com>
Wed, 17 Apr 2013 19:48:40 +0000 (13:48 -0600)
Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/dri/r200/r200_swtcl.c

index 274e3386b4ad22ecf669601351b17d0e48893bf4..0f1e0139d800f39c8c085f2a41e54a67853f1acd 100644 (file)
@@ -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;