Flush the context when we unmap a buffer, otherwise VDPAU might start rendering the next frame while we still reference that buffer.
db54fca st/vdpau: add flush on unmap
src/mesa/state_tracker/st_vdpau.c | 4 ++++
1 file changed, 4 insertions(+)
Upstream: cgit.freedesktop.org