Commit 6509f90e authored by Charles Davis's avatar Charles Davis Committed by Alexandre Julliard

winex11.drv: Actually query the swap method attribute.

parent 2000c7d7
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment