Module: Mesa Branch: master Commit: e4a5165562ec21c86dcc8069ef424485aa6f2ac3 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e4a5165562ec21c86dcc8069ef424485aa6f2ac3
Author: Brian Paul <[email protected]> Date: Mon May 19 09:26:04 2014 -0600 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 <[email protected]> --- 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 1ef302d..dc5160d 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; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
