http://bugs.winehq.org/show_bug.cgi?id=14975
--- Comment #15 from Roderick Colenbrander thunderbird2k@gmx.net 2008-09-09 11:36:40 --- Created an attachment (id=15958) --> (http://bugs.winehq.org/attachment.cgi?id=15958) hack
I didn't have much time the last couple of weeks to reply here but I knew this was the problem but it is far from easy to fix. In short the issue is the function ChoosePixelFormat which is used by programs to select an opengl pixel format. The function is very bad as it doesn't give you ANY guarantees. For example if you would ask for a pixel format with 32-bit colors, it could return one with 8-bit if 32-bit isn't available. In this case WoW only asks for 32-bit colors and specifies 0 for red, green, blue and alpha while it seems to want alpha after all. It is trivial to modify the algorithm but it easily breaks dozens of apps. I need to properly analyse the pixel format table of multiple windows drivers again (I had to do this before but wasn't able to discover a pattern in it) and need to do lots of tests. For now you could add a hack like the one I just added.