diff options
author | Keith Whitwell <[email protected]> | 2007-12-20 13:47:46 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2007-12-20 13:47:46 +0000 |
commit | a85535b7cb0886f23e5686e37d1fa54394cdece4 (patch) | |
tree | 9940a0b79f6c2132a28046bd5015af2329a827e0 /src/mesa/state_tracker/st_cb_readpixels.c | |
parent | 9e41d547db6669ff669f1d60cb35df9edf306370 (diff) |
gallium: make state tracker explictly ask for rendercache flushes
Diffstat (limited to 'src/mesa/state_tracker/st_cb_readpixels.c')
-rw-r--r-- | src/mesa/state_tracker/st_cb_readpixels.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_readpixels.c b/src/mesa/state_tracker/st_cb_readpixels.c index 96829fcfa0f..b0c9275c6f8 100644 --- a/src/mesa/state_tracker/st_cb_readpixels.c +++ b/src/mesa/state_tracker/st_cb_readpixels.c @@ -155,7 +155,7 @@ st_readpixels(GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height, } /* make sure rendering has completed */ - pipe->flush(pipe, 0x0); + pipe->flush(pipe, PIPE_FLUSH_RENDER_CACHE); if (pack->BufferObj && pack->BufferObj->Name) { /* reading into a PBO */ |