summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/d3d1x
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-09-23 16:02:58 +0200
committerLuca Barbieri <[email protected]>2010-09-23 16:06:03 +0200
commit681f87e09bc278924a19fc960809556e607886f1 (patch)
treeecd894b233735ac4431f2f816d8a3188cfbf019e /src/gallium/state_trackers/d3d1x
parent9a97b9af68ef1e555d7581c1997c947d78b30ca7 (diff)
d3d1x: flush the pipe context when presenting
Diffstat (limited to 'src/gallium/state_trackers/d3d1x')
-rw-r--r--src/gallium/state_trackers/d3d1x/dxgi/src/dxgi_native.cpp2
1 files changed, 2 insertions, 0 deletions
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 GalliumDXGIObject<IDXGISwapChain, GalliumDX
if(dst_surface)
pipe->screen->tex_surface_destroy(dst_surface);
+ pipe->flush(pipe, PIPE_FLUSH_RENDER_CACHE | PIPE_FLUSH_FRAME);
+
if(db)
{
if(!surface->swap_buffers(surface))