summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/nv40/nv40_state.c
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2007-12-26 00:56:00 +1100
committerBen Skeggs <skeggsb@gmail.com>2007-12-26 00:56:00 +1100
commitf33467d72a0bcfc48a21c9d2bf158dabda926442 (patch)
tree71c5956a9f94647c362529181d49e7e52c33c583 /src/mesa/pipe/nv40/nv40_state.c
parente32e0e2b8ea81e7b49c1cca4a99ac9b43790ce44 (diff)
nouveau: header update
Diffstat (limited to 'src/mesa/pipe/nv40/nv40_state.c')
-rw-r--r--src/mesa/pipe/nv40/nv40_state.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/pipe/nv40/nv40_state.c b/src/mesa/pipe/nv40/nv40_state.c
index 30cd429075..42a158986f 100644
--- a/src/mesa/pipe/nv40/nv40_state.c
+++ b/src/mesa/pipe/nv40/nv40_state.c
@@ -425,8 +425,7 @@ nv40_depth_stencil_alpha_state_bind(struct pipe_context *pipe, void *hwcso)
BEGIN_RING(curie, NV40TCL_DEPTH_FUNC, 3);
OUT_RINGp ((uint32_t *)&hw->depth, 3);
- /*XXX: fix in nouveau_class.h, faces backwards.. */
- BEGIN_RING(curie, NV40TCL_STENCIL_BACK_ENABLE, 16);
+ BEGIN_RING(curie, NV40TCL_STENCIL_FRONT_ENABLE, 16);
OUT_RINGp ((uint32_t *)&hw->stencil.front, 8);
OUT_RINGp ((uint32_t *)&hw->stencil.back, 8);
BEGIN_RING(curie, NV40TCL_ALPHA_TEST_ENABLE, 3);