diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-10-23 17:45:55 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-10-24 12:32:42 -0600 |
commit | b78e90807abc31f58492992cdfe5e01bfd53e68b (patch) | |
tree | c9bfa26eec960a22c1f6a28b6ee8c35edd3319c5 /src | |
parent | 47f2e97019d367e544439d0604b824b7bd2643c7 (diff) |
flush pipe in draw_stencil_pixels()
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/state_tracker/st_cb_drawpixels.c | 2 |
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 90f91c39b5..4fdf1cef2b 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); |