Roderick Colenbrander : wgl:
Fix a typo in the pbuffer pixelformat enumeration code.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Nov 13 06:29:29 CST 2006
Module: wine
Branch: master
Commit: 5b026479c5d43c1a41e626e49d94e140779429e1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5b026479c5d43c1a41e626e49d94e140779429e1
Author: Roderick Colenbrander <thunderbird2k at gmx.net>
Date: Sun Nov 12 13:08:26 2006 +0100
wgl: Fix a typo in the pbuffer pixelformat enumeration code.
---
dlls/winex11.drv/opengl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index d41beea..70ad9eb 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -2110,7 +2110,7 @@ static GLboolean WINAPI X11DRV_wglChoose
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;
More information about the wine-cvs
mailing list