winex11drv: Fix failure of X11DRV_ChoosePixelFormat

Detlef Riekenberg wine.dev at web.de
Sun Nov 5 09:47:21 CST 2006


My system used visual_id = 0x27 and the OGRE3D-Demo
"Magic of stonehenge" in OpenGL-mode failed with
ChoosePixelFormat.

On IRC, Roderick Colenbrander found the wrong code.

The old code selected visual_id 0x2d in 
pglXGetFBConfigAttrib for the tests and 
X11DRV_ChoosePixelFormat failed
(missing stencil).

Thanks Roderick


Changelog:
winex11drv: Fix failure of X11DRV_ChoosePixelFormat


-- 
 
By by ... Detlef

-------------- next part --------------
A non-text attachment was scrubbed...
Name: x11_choosepixelformat.txt
Type: text/x-patch
Size: 589 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061105/c45167e1/x11_choosepixelformat.bin


More information about the wine-patches mailing list