summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2014-05-19 09:26:04 -0600
committerJosé Fonseca <[email protected]>2014-05-30 18:52:39 +0100
commite4a5165562ec21c86dcc8069ef424485aa6f2ac3 (patch)
tree527fca9dbec69bd56e9a6cf015ee1e13ec8017b4 /src
parent76bf4bd3c567760d02529952a3aa37c048712d09 (diff)
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]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/wgl/stw_pixelformat.c2
1 files changed, 1 insertions, 1 deletions
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;