mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-25 11:30:29 +01:00
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 <jfonseca@vmware.com>
This commit is contained in:
parent
76bf4bd3c5
commit
e4a5165562
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue