From: Luca Barbieri Date: Thu, 23 Sep 2010 14:02:58 +0000 (+0200) Subject: d3d1x: flush the pipe context when presenting X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=681f87e09bc278924a19fc960809556e607886f1;p=mesa.git d3d1x: flush the pipe context when presenting --- diff --git a/src/gallium/state_trackers/d3d1x/dxgi/src/dxgi_native.cpp b/src/gallium/state_trackers/d3d1x/dxgi/src/dxgi_native.cpp index 89be7f5b17b..99d80eae319 100644 --- a/src/gallium/state_trackers/d3d1x/dxgi/src/dxgi_native.cpp +++ b/src/gallium/state_trackers/d3d1x/dxgi/src/dxgi_native.cpp @@ -1139,6 +1139,8 @@ struct GalliumDXGISwapChain : public GalliumDXGIObjectscreen->tex_surface_destroy(dst_surface); + pipe->flush(pipe, PIPE_FLUSH_RENDER_CACHE | PIPE_FLUSH_FRAME); + if(db) { if(!surface->swap_buffers(surface))