http://bugs.winehq.org/show_bug.cgi?id=14868
--- Comment #11 from Dmitry Timoshkov dmitry@codeweavers.com 2008-08-15 23:56:08 --- The problem might be that the new code writes color masks when there is no enough space for them, and corrupts the stack. Specifying BI_RGB avoids that.