llvmpipe: flush upon PIPE_FLUSH_TEXTURE_CACHE too

This commit is contained in:
Brian Paul 2010-04-15 17:40:44 -06:00
parent b7bd4b85f3
commit b387f74c38
1 changed files with 2 additions and 1 deletions

View File

@ -65,7 +65,8 @@ llvmpipe_flush( struct pipe_context *pipe,
}
/* ask the setup module to flush */
if (flags & (PIPE_FLUSH_SWAPBUFFERS | PIPE_FLUSH_RENDER_CACHE)) {
if (flags & (PIPE_FLUSH_SWAPBUFFERS | PIPE_FLUSH_RENDER_CACHE |
PIPE_FLUSH_TEXTURE_CACHE)) {
lp_setup_flush(llvmpipe->setup, flags);
}