WGL: Fix a major ATI regression

Roderick Colenbrander thunderbird2k at gmx.net
Wed Sep 12 18:09:14 CDT 2007


Our beloved ATI drivers again have some nice problems. The latest 8.41.7 uses a new codebase and is a lot faster (and perhaps a lot less buggy in GL stuff). In GLX it is buggier than ever.

GLX uses 'GLXFBConfigs' as pixel formats. Normally onscreen pixel formats are associated with a X visual of which you can query the id using GLX_VISUAL_ID. For some reason this returns 0 on 8.41.7. A different codepath (XVisualInfo *vis = glXGetVisualFromFBConfig(..)) works though. We must use this to support any form of 3D on Wine (and lots of users will upgrade to this version).

The change isn't a hack but more a workaround. I have submitted the bugreport to ATI but they likely won't fix it anytime soon.

Roderick Colenbrander
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Ati-s-latest-drivers-8.41.7-don-t-advertise-visual.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070913/b27dda19/attachment.bin 

More information about the wine-patches mailing list