From 2a14dc958aef1efde867aa0bcb89a5fffbf26cc6 Mon Sep 17 00:00:00 2001 From: Detlef Riekenberg Date: Sun, 5 Nov 2006 20:58:56 +0100 Subject: [PATCH] winex11.drv: Fix failure of X11DRV_ChoosePixelFormat. --- dlls/winex11.drv/opengl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c index 537d7b20c84..d41beea6347 100644 --- a/dlls/winex11.drv/opengl.c +++ b/dlls/winex11.drv/opengl.c @@ -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; } -- 2.11.4.GIT