http://bugs.winehq.org/show_bug.cgi?id=12855
--- Comment #1 from Roderick Colenbrander thunderbird2k@gmx.net 2008-04-29 14:29:41 --- Created an attachment (id=12576) --> (http://bugs.winehq.org/attachment.cgi?id=12576) proposed fix
The test itself is quite fragile as it depends on the way the pixel format list is ordered which can be different on each OS (windows, linux, freebsd) and driver. I took away the tricky parts and now only test if ChoosePixelFormat returns the first matching format which is basically all I need to know.