summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-06-11 15:14:22 -0700
committerEric Anholt <[email protected]>2010-06-12 21:47:32 -0700
commit1dc573a881f5b1413d156b64f5fdd0a57825c02a (patch)
treec32998d26de70ec58be8f505fb29bf6e2790947e /src/mesa
parent5dbbb48f46f99baeba3a24a8371029e216b931bb (diff)
i965: Fix gen6 front cull mode.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/gen6_sf_state.c2
1 files changed, 1 insertions, 1 deletions
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;