summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Skeggs <darktama@iinet.net.au>2006-11-19 14:10:54 +0000
committerBen Skeggs <darktama@iinet.net.au>2006-11-19 14:10:54 +0000
commit08a0946fcc51a0980d1d7a06e11d72ef71efafcf (patch)
tree0ec792af19285cd3ce0dc8918b1c9eeb918a56e3
parent82d0fd26d49f98517d3668dc1c78a7b4ac8e48e6 (diff)
Stupid bug..
-rw-r--r--src/mesa/drivers/dri/nouveau/nv30_state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv30_state.c b/src/mesa/drivers/dri/nouveau/nv30_state.c
index 12a45d3ea9..00ab1c3202 100644
--- a/src/mesa/drivers/dri/nouveau/nv30_state.c
+++ b/src/mesa/drivers/dri/nouveau/nv30_state.c
@@ -516,13 +516,13 @@ static void nv30StencilOpSeparate(GLcontext *ctx, GLenum face, GLenum fail,
nouveauContextPtr nmesa = NOUVEAU_CONTEXT(ctx);
if (face == GL_FRONT || face == GL_FRONT_AND_BACK) {
- BEGIN_RING_SIZE(NvSub3D, NV30_TCL_PRIMITIVE_3D_STENCIL_FRONT_OP_FAIL, 1);
+ BEGIN_RING_SIZE(NvSub3D, NV30_TCL_PRIMITIVE_3D_STENCIL_FRONT_OP_FAIL, 3);
OUT_RING(fail);
OUT_RING(zfail);
OUT_RING(zpass);
}
if (face == GL_BACK || face == GL_FRONT_AND_BACK) {
- BEGIN_RING_SIZE(NvSub3D, NV30_TCL_PRIMITIVE_3D_STENCIL_BACK_OP_FAIL, 1);
+ BEGIN_RING_SIZE(NvSub3D, NV30_TCL_PRIMITIVE_3D_STENCIL_BACK_OP_FAIL, 3);
OUT_RING(fail);
OUT_RING(zfail);
OUT_RING(zpass);