[Bug 14975] Word of Warcraft 3.01 Beta Wotlk

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Sep 9 11:36:40 CDT 2008


--- Comment #15 from Roderick Colenbrander <thunderbird2k at gmx.net>  2008-09-09 11:36:40 ---
Created an attachment (id=15958)
 --> (http://bugs.winehq.org/attachment.cgi?id=15958)

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.

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list