vrend: Emit dithering state

Somehow this was missing.

Signed-off-by: Stéphane Marchesin <marcheu@chromium.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
macos/master
Stéphane Marchesin 7 years ago committed by Dave Airlie
parent 735fccca63
commit 488765c82e
  1. 5
      src/vrend_renderer.c

@ -3254,6 +3254,11 @@ static void vrend_hw_emit_blend(struct vrend_context *ctx, struct pipe_blend_sta
else
glDisable(GL_SAMPLE_ALPHA_TO_ONE);
}
if (state->dither)
glEnable(GL_DITHER);
else
glDisable(GL_DITHER);
}
/* there are a few reasons we might need to patch the blend state.

Loading…
Cancel
Save