From 6509f90eacae5990de63d6f9a493fb60dd1982ad Mon Sep 17 00:00:00 2001 From: Charles Davis Date: Fri, 12 Feb 2016 02:01:42 -0700 Subject: [PATCH] winex11.drv: Actually query the swap method attribute. Signed-off-by: Charles Davis Signed-off-by: Matteo Bruni Signed-off-by: Alexandre Julliard --- 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 3d0bd24abb9..704d62a384e 100644 --- a/dlls/winex11.drv/opengl.c +++ b/dlls/winex11.drv/opengl.c @@ -2738,7 +2738,7 @@ static BOOL X11DRV_wglGetPixelFormatAttribivARB( HDC hdc, int iPixelFormat, int case WGL_SWAP_METHOD_ARB: if (has_swap_method) { - hTest = pglXGetFBConfigAttrib(gdi_display, fmt->fbconfig, GLX_DRAWABLE_TYPE, &tmp); + hTest = pglXGetFBConfigAttrib(gdi_display, fmt->fbconfig, GLX_SWAP_METHOD_OML, &tmp); if (hTest) goto get_error; switch (tmp) {