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 99d80eae319832ce27e93c87a59e42a48048b8ae..74bce598ae2c23405e232160ef13c415c6aedc2c 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)
                {