wgl: Fix a typo in the pbuffer pixelformat enumeration code.

This commit is contained in:
Roderick Colenbrander 2006-11-12 13:08:26 +01:00 committed by Alexandre Julliard
parent 22b5890862
commit 5b026479c5
1 changed files with 1 additions and 1 deletions

View File

@ -2110,7 +2110,7 @@ static GLboolean WINAPI X11DRV_wglChoosePixelFormatARB(HDC hdc, const int *piAtt
ERR("Failed to retrieve FBCONFIG_ID from GLXFBConfig, expect problems.\n");
continue;
}
gl_test = pglXGetFBConfigAttrib(gdi_display, cfgs[it], GLX_VISUAL_ID, &tmp_vis_id);
gl_test = pglXGetFBConfigAttrib(gdi_display, cfgs_fmt[it_fmt], GLX_VISUAL_ID, &tmp_vis_id);
if (gl_test) {
ERR("Failed to retrieve VISUAL_ID from GLXFBConfig, expect problems.\n");
continue;