From: Eric Anholt Date: Fri, 11 Jun 2010 22:14:22 +0000 (-0700) Subject: i965: Fix gen6 front cull mode. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1dc573a881f5b1413d156b64f5fdd0a57825c02a;p=mesa.git i965: Fix gen6 front cull mode. --- diff --git a/src/mesa/drivers/dri/i965/gen6_sf_state.c b/src/mesa/drivers/dri/i965/gen6_sf_state.c index 8d96b44f1dc..51940efb443 100644 --- a/src/mesa/drivers/dri/i965/gen6_sf_state.c +++ b/src/mesa/drivers/dri/i965/gen6_sf_state.c @@ -87,7 +87,7 @@ upload_sf_state(struct brw_context *brw) if (ctx->Polygon.CullFlag) { switch (ctx->Polygon.CullFaceMode) { case GL_FRONT: - dw3 |= GEN6_SF_CULL_BOTH; + dw3 |= GEN6_SF_CULL_FRONT; break; case GL_BACK: dw3 |= GEN6_SF_CULL_BACK;