mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 04:30:10 +01:00
flush pipe in draw_stencil_pixels()
This commit is contained in:
parent
47f2e97019
commit
b78e90807a
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue