From: Brian Date: Tue, 23 Oct 2007 23:45:55 +0000 (-0600) Subject: flush pipe in draw_stencil_pixels() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b78e90807abc31f58492992cdfe5e01bfd53e68b;p=mesa.git flush pipe in draw_stencil_pixels() --- diff --git a/src/mesa/state_tracker/st_cb_drawpixels.c b/src/mesa/state_tracker/st_cb_drawpixels.c index 90f91c39b5d..4fdf1cef2b6 100644 --- a/src/mesa/state_tracker/st_cb_drawpixels.c +++ b/src/mesa/state_tracker/st_cb_drawpixels.c @@ -797,6 +797,8 @@ draw_stencil_pixels(GLcontext *ctx, GLint x, GLint y, GLint skipPixels; ubyte *stmap; + pipe->flush(pipe, 0); + /* map the stencil buffer */ stmap = pipe->region_map(pipe, ps->region);