gallium: call st_flush_bitmap_cache()

This commit is contained in:
Brian Paul
2008-04-03 12:01:53 -06:00
parent f07fe3c728
commit 0bc2e2c9cd

View File

@@ -159,6 +159,8 @@ st_readpixels(GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height,
if (!dest)
return;
st_flush_bitmap_cache(ctx->st);
/* make sure rendering has completed */
pipe->flush(pipe, PIPE_FLUSH_RENDER_CACHE, NULL);