diff options
author | Jakob Bornecrantz <[email protected]> | 2010-12-16 07:24:32 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2010-12-16 08:53:26 +0100 |
commit | 0967d77a9a2a2d1e178e2b747747ba9f9caee3c2 (patch) | |
tree | 39871730fbfc4f2193a5ceef376545f44ea827f3 /src/gallium | |
parent | 8b60bf4e9f37aa1c7bd19fed67ec50aedb9a0bee (diff) |
wrapper: Flush pipe on unmap
For drivers that does DMA transfers instead of mapping directly
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c b/src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c index 77220cf7797..4ecfdbf3915 100644 --- a/src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c +++ b/src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c @@ -246,6 +246,7 @@ wsw_dt_unmap(struct sw_winsys *ws, pipe->transfer_unmap(pipe, wdt->transfer); pipe->transfer_destroy(pipe, wdt->transfer); + pipe->flush(pipe, 0, NULL); wdt->transfer = NULL; } |