From 54ee7721a142f57c932f77e6a33af6874320cdc0 Mon Sep 17 00:00:00 2001 From: Luca Barbieri Date: Fri, 24 Sep 2010 09:12:33 +0200 Subject: d3d1x: draw to the correct buffer --- src/gallium/state_trackers/d3d1x/dxgi/src/dxgi_native.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/state_trackers/d3d1x') 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 74bce598ae2..ef256a80c79 100644 --- a/src/gallium/state_trackers/d3d1x/dxgi/src/dxgi_native.cpp +++ b/src/gallium/state_trackers/d3d1x/dxgi/src/dxgi_native.cpp @@ -1045,7 +1045,7 @@ struct GalliumDXGISwapChain : public GalliumDXGIObjectbuffer_mask & NATIVE_ATTACHMENT_BACK_LEFT); + db = !!(config->buffer_mask & (1 << NATIVE_ATTACHMENT_BACK_LEFT)); dst = resources[db ? NATIVE_ATTACHMENT_BACK_LEFT : NATIVE_ATTACHMENT_FRONT_LEFT]; src = gallium_buffer0; dst_surface = 0; -- cgit v1.2.3