Stupid bug..
authorBen Skeggs <darktama@iinet.net.au>
Sun, 19 Nov 2006 14:10:54 +0000 (14:10 +0000)
committerBen Skeggs <darktama@iinet.net.au>
Sun, 19 Nov 2006 14:10:54 +0000 (14:10 +0000)
src/mesa/drivers/dri/nouveau/nv30_state.c

index 12a45d3ea9f0ea51b816288afb1de7dd2e5d5cee..00ab1c32025dd7c420adbaebd4a75a55213516f0 100644 (file)
@@ -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);