d3d1x: flush properly
authorLuca Barbieri <luca@luca-barbieri.com>
Thu, 23 Sep 2010 14:08:37 +0000 (16:08 +0200)
committerLuca Barbieri <luca@luca-barbieri.com>
Thu, 23 Sep 2010 14:08:37 +0000 (16:08 +0200)
src/gallium/state_trackers/d3d1x/dxgi/src/dxgi_native.cpp

index 99d80ea..74bce59 100644 (file)
@@ -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)
                {