[PATCH 1/5] winex11.drv: Actually report WGL_SWAP_EXCHANGE_ARB as the swap method.

Matteo Bruni mbruni at codeweavers.com
Mon Nov 10 11:56:10 CST 2014


I.e. do what it was probably intended to do from the start. It should
fix bug 16699.
---
 dlls/winex11.drv/opengl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index 71af3db..1481034 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -2742,7 +2742,7 @@ static BOOL X11DRV_wglGetPixelFormatAttribivARB( HDC hdc, int iPixelFormat, int
                  * point only ATI offers this.
                  */
                 piValues[i] = WGL_SWAP_EXCHANGE_ARB;
-                break;
+                continue;
 
             case WGL_PBUFFER_LARGEST_ARB:
                 curGLXAttr = GLX_LARGEST_PBUFFER;
-- 
2.0.4




More information about the wine-patches mailing list