From e4a5165562ec21c86dcc8069ef424485aa6f2ac3 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 19 May 2014 09:26:04 -0600 Subject: [PATCH] st/wgl: change PFD_SWAP_COPY to PFD_SWAP_EXCHANGE. To reflect our actual SwapBuffers implementation. See stw_st_swap_framebuffer_locked(). This fixes various rendering issues with SolidEdge. Reviewed-by: Jose Fonseca --- src/gallium/state_trackers/wgl/stw_pixelformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/wgl/stw_pixelformat.c b/src/gallium/state_trackers/wgl/stw_pixelformat.c index 1ef302d0ddb..dc5160d868e 100644 --- a/src/gallium/state_trackers/wgl/stw_pixelformat.c +++ b/src/gallium/state_trackers/wgl/stw_pixelformat.c @@ -158,7 +158,7 @@ stw_pixelformat_add( pfi->pfd.dwFlags |= PFD_SUPPORT_COMPOSITION; if (doublebuffer) - pfi->pfd.dwFlags |= PFD_DOUBLEBUFFER | PFD_SWAP_COPY; + pfi->pfd.dwFlags |= PFD_DOUBLEBUFFER | PFD_SWAP_EXCHANGE; pfi->pfd.iPixelType = PFD_TYPE_RGBA; -- 2.30.2