wrapper: Flush pipe on unmap

For drivers that does DMA transfers instead of mapping directly
This commit is contained in:
Jakob Bornecrantz 2010-12-16 07:24:32 +01:00
parent 8b60bf4e9f
commit 0967d77a9a

View file

@ -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;
}