gallium: make state tracker explictly ask for rendercache flushes

This commit is contained in:
Keith Whitwell
2007-12-20 13:47:46 +00:00
parent 9e41d547db
commit a85535b7cb
6 changed files with 9 additions and 8 deletions

View File

@@ -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 */