From: Brian Paul Date: Thu, 3 Apr 2008 18:01:53 +0000 (-0600) Subject: gallium: call st_flush_bitmap_cache() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0bc2e2c9cd552e4187dd8a2250e350efcdc9aea1;p=mesa.git gallium: call st_flush_bitmap_cache() --- diff --git a/src/mesa/state_tracker/st_cb_readpixels.c b/src/mesa/state_tracker/st_cb_readpixels.c index e9fcdf69a14..82df28b29a1 100644 --- a/src/mesa/state_tracker/st_cb_readpixels.c +++ b/src/mesa/state_tracker/st_cb_readpixels.c @@ -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);