mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 12:08:06 +02:00
wrapper: Flush pipe on unmap
For drivers that does DMA transfers instead of mapping directly
This commit is contained in:
parent
8b60bf4e9f
commit
0967d77a9a
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue