[Bug 31071] DotA 2: overbright/broken lighting effects

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Aug 2 08:24:45 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=31071

Matteo Bruni <matteo.mystral at 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 at 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.

-- 
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