diff options
author | Brian Paul <[email protected]> | 2010-04-15 17:40:44 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-04-16 09:43:32 -0600 |
commit | b387f74c38178c857f6d34b500c40587d54288dc (patch) | |
tree | 2b8303054646ba02d72dee0b8004a4e2c040cb66 /src/gallium/drivers/llvmpipe/lp_flush.c | |
parent | b7bd4b85f320ca50d924c23115eb56720a0de27f (diff) |
llvmpipe: flush upon PIPE_FLUSH_TEXTURE_CACHE too
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_flush.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_flush.c | 3 |
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); } |