summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-10-23 17:45:55 -0600
committerBrian <[email protected]>2007-10-24 12:32:42 -0600
commitb78e90807abc31f58492992cdfe5e01bfd53e68b (patch)
treec9bfa26eec960a22c1f6a28b6ee8c35edd3319c5 /src/mesa/state_tracker
parent47f2e97019d367e544439d0604b824b7bd2643c7 (diff)
flush pipe in draw_stencil_pixels()
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_cb_drawpixels.c2
1 files changed, 2 insertions, 0 deletions
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);