http://bugs.winehq.org/show_bug.cgi?id=31071
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #41107|0 |1 is obsolete| | Attachment #41122|0 |1 is obsolete| | Attachment #41134|0 |1 is obsolete| |
--- Comment #77 from Matteo Bruni matteo.mystral@gmail.com 2012-08-02 08:24:45 CDT --- Created attachment 41238 --> http://bugs.winehq.org/attachment.cgi?id=41238 Hopeful fix
I think I finally got it.
AFAIU, this is not really a regression, the patch just enabled a different codepath in the game that triggered an existing bug. That is, our sRGB write handling is not correct if blending is enabled.
Please try the attached patch on top of current Wine, removing the various debug patches I previously attached to the bug. The patch probably still needs some work (e.g. the WINED3D_RS_SRGBWRITEENABLE state handler maybe should be in some other place, also it should take care of the other ffp backends) but it should help anyway.