gallium: call st_flush_bitmap_cache()
This commit is contained in:
@@ -159,6 +159,8 @@ st_readpixels(GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height,
|
|||||||
if (!dest)
|
if (!dest)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
st_flush_bitmap_cache(ctx->st);
|
||||||
|
|
||||||
/* make sure rendering has completed */
|
/* make sure rendering has completed */
|
||||||
pipe->flush(pipe, PIPE_FLUSH_RENDER_CACHE, NULL);
|
pipe->flush(pipe, PIPE_FLUSH_RENDER_CACHE, NULL);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user