WineD3D: unify color conversion code
Roderick Colenbrander
thunderbird2k at gmx.net
Mon Jan 7 14:31:20 CST 2008
Hi,
Right now two different color conversion codepaths are in use the 'standard' d3dfmt_convert_surface and something similar in flush_to_framebuffer_drawpixels. This patch gets rid of the redundant path in flush_to_framebuffer_drawpixels. Both the drawable and texture path of LoadLocation now use similar surface conversion code.
The code in the drawable path now also sets SFLAG_CONVERTED which didn't appear to get set before (the texture path set it). This fixes a large number of RenderTargetLockMode readdraw bugs like bug 10899 and others.
Regards,
Roderick Colenbrander
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger?did=10
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Remove-color-conversion-codepath-from-flush_to_frame.patch
Type: text/x-diff
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080107/ecd7231e/attachment.patch
More information about the wine-patches
mailing list