#2 winex11.drv: Retrieve X color profile in GetICMProfile.

Hans Leidekker hans at it.vu.nl
Wed Mar 5 05:02:31 CST 2008


With this patch users of color managed apps like Photoshop will be able
to use their X color profile without any configuration on Wine's part.

X returns a pointer to a piece of memory that holds the profile while
GetICMProfile returns the file name of the color profile in use. I took
some inspiration from git and decided to build the file name from the
sha1sum of the profile, to avoid saving the same profile on every call.

 -Hans

Changelog
 Retrieve X color profile in GetICMProfile.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winex11.drv_X_profile.diff
Type: text/x-diff
Size: 4766 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080305/62e7b2d9/attachment.diff 


More information about the wine-patches mailing list