Winex11.drv: get rid of hard-coded bitmap GCs

Roderick Colenbrander thunderbird2k at gmail.com
Thu Jul 9 15:10:26 CDT 2009


Hi,

This patch moves GC selection to a helper function. Before various
functions hard coded the GC or used a BITMAP_GC macro. This isn't
flexible when we need more GCs e.g. when we add 32-bit pixmap support.

Regards,
Roderick Colenbrander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Use-a-function-for-retrieving-the-GC-and-get-red-of.patch
Type: text/x-diff
Size: 7352 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090709/d786d407/attachment-0001.patch>


More information about the wine-patches mailing list