Matteo Bruni : winex11.drv: Actually report WGL_SWAP_EXCHANGE_ARB as the swap method.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Nov 11 11:04:45 CST 2014


Module: wine
Branch: master
Commit: 3ac85842d34cce334305d2165bc7c50159dfc8cd
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3ac85842d34cce334305d2165bc7c50159dfc8cd

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Mon Nov 10 18:56:10 2014 +0100

winex11.drv: Actually report WGL_SWAP_EXCHANGE_ARB as the swap method.

---

 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;




More information about the wine-cvs mailing list