st/vdpau: flush the context before calling flush_frontbuffer
authorNayan Deshmukh <nayan26deshmukh@gmail.com>
Tue, 20 Sep 2016 04:52:11 +0000 (10:22 +0530)
committerChristian König <christian.koenig@amd.com>
Tue, 20 Sep 2016 09:18:07 +0000 (11:18 +0200)
commite4cc2276c1fce9bce81834c348c3fc7e97ed6321
treea83075bf305a5000fcea85d7f9900898a7e6d80a
parent853e80f5a09f85477167aac2789a91a2755e23f0
st/vdpau: flush the context before calling flush_frontbuffer

so that the texture is rendered to back buffer before calling
flush_frontbuffer and can be copied to a different buffer in
the function

Signed-off-by: Nayan Deshmukh <nayan26deshmukh@gmail.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
src/gallium/state_trackers/vdpau/presentation.c