st/mesa: more fixes for stencil ref change.
[mesa.git] / src / mesa / state_tracker / st_atom_depth.c
index 4395c68209384b5b99c5143717f073fdadd42a5b..3c07afba9aaf588a78e97d1b24428eac215c4ee8 100644 (file)
@@ -123,7 +123,6 @@ update_depth_stencil_alpha(struct st_context *st)
          dsa->stencil[1].fail_op = gl_stencil_op_to_pipe(ctx->Stencil.FailFunc[back]);
          dsa->stencil[1].zfail_op = gl_stencil_op_to_pipe(ctx->Stencil.ZFailFunc[back]);
          dsa->stencil[1].zpass_op = gl_stencil_op_to_pipe(ctx->Stencil.ZPassFunc[back]);
-         dsa->stencil[1].ref_value = ctx->Stencil.Ref[back] & 0xff;
          dsa->stencil[1].valuemask = ctx->Stencil.ValueMask[back] & 0xff;
          dsa->stencil[1].writemask = ctx->Stencil.WriteMask[back] & 0xff;
          sr.ref_value[1] = ctx->Stencil.Ref[back] & 0xff;