Commit 2a14dc95 authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

winex11.drv: Fix failure of X11DRV_ChoosePixelFormat.

parent 1ae4ab6e
......@@ -873,9 +873,9 @@ int X11DRV_ChoosePixelFormat(X11DRV_PDEVICE *physDev,
}
/* Get a list containing all supported FB configurations */
cfgs = pglXChooseFBConfig(gdi_display, DefaultScreen(gdi_display), NULL, &nCfgs);
cfgs = pglXGetFBConfigs(gdi_display, DefaultScreen(gdi_display), &nCfgs);
if (NULL == cfgs || 0 == nCfgs) {
ERR("glXChooseFBConfig returns NULL (glError: %d)\n", pglGetError());
ERR("glXGetFBConfigs returns NULL (glError: %d)\n", pglGetError());
goto choose_exit;
}
......
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