flush pipe in draw_stencil_pixels()
authorBrian <brian.paul@tungstengraphics.com>
Tue, 23 Oct 2007 23:45:55 +0000 (17:45 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Wed, 24 Oct 2007 18:32:42 +0000 (12:32 -0600)
src/mesa/state_tracker/st_cb_drawpixels.c

index 90f91c39b5d0b82484decbee2d33dc5d87b63be3..4fdf1cef2b6fbb0ee5417ac1682477a866fddce9 100644 (file)
@@ -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);