summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-04-15 17:40:44 -0600
committerBrian Paul <[email protected]>2010-04-16 09:43:32 -0600
commitb387f74c38178c857f6d34b500c40587d54288dc (patch)
tree2b8303054646ba02d72dee0b8004a4e2c040cb66 /src/gallium
parentb7bd4b85f320ca50d924c23115eb56720a0de27f (diff)
llvmpipe: flush upon PIPE_FLUSH_TEXTURE_CACHE too
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_flush.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_flush.c b/src/gallium/drivers/llvmpipe/lp_flush.c
index a248142b1de..3627dbd759c 100644
--- a/src/gallium/drivers/llvmpipe/lp_flush.c
+++ b/src/gallium/drivers/llvmpipe/lp_flush.c
@@ -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);
}