llvmpipe: flush upon PIPE_FLUSH_TEXTURE_CACHE too
This commit is contained in:
parent
b7bd4b85f3
commit
b387f74c38
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue