Mesa (master): d3d1x: flush properly

Luca Barbieri lb at kemper.freedesktop.org
Thu Sep 23 16:10:08 UTC 2010


Module: Mesa
Branch: master
Commit: 1734a785384430f022de453dc5cb59b8c4999833
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1734a785384430f022de453dc5cb59b8c4999833

Author: Luca Barbieri <luca at luca-barbieri.com>
Date:   Thu Sep 23 16:08:37 2010 +0200

d3d1x: flush properly

---

 .../state_trackers/d3d1x/dxgi/src/dxgi_native.cpp  |    2 +-
 1 files changed, 1 insertions(+), 1 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 99d80ea..74bce59 100644
--- a/src/gallium/state_trackers/d3d1x/dxgi/src/dxgi_native.cpp
+++ b/src/gallium/state_trackers/d3d1x/dxgi/src/dxgi_native.cpp
@@ -1139,7 +1139,7 @@ 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);
+		pipe->flush(pipe, PIPE_FLUSH_RENDER_CACHE | PIPE_FLUSH_FRAME, 0);
 
 		if(db)
 		{




More information about the mesa-commit mailing list