diff options
author | Brian Paul <[email protected]> | 2008-04-03 12:01:53 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-04-03 12:01:53 -0600 |
commit | 0bc2e2c9cd552e4187dd8a2250e350efcdc9aea1 (patch) | |
tree | 301854716857965aedeaac80490caf9ba690b7b7 /src | |
parent | f07fe3c728aec5a715cf615822151e11a00cda44 (diff) |
gallium: call st_flush_bitmap_cache()
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/state_tracker/st_cb_readpixels.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |