comctl32/imagelist: use DDB instead of 16-color bitmaps
Daniel Jelinski
djelinski1 at gmail.com
Fri Mar 1 13:48:31 CST 2013
-------------- next part --------------
From 7d94066886369a78def3e3e0fc8fb2dddd827e19 Mon Sep 17 00:00:00 2001
From: Daniel Jelinski <djelinski1 at gmail.com>
Date: Wed, 27 Feb 2013 21:47:43 +0100
Subject: [PATCH 1/2] comctl32/imagelist: use DDB instead of 16-color bitmaps
I don't know if DDB is a good option here, but 32bit color resulted in invisible images, and anything is better than the current 16 colors
---
dlls/comctl32/imagelist.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/imagelist.c b/dlls/comctl32/imagelist.c
index 54d864e..4ff6f0a 100644
--- a/dlls/comctl32/imagelist.c
+++ b/dlls/comctl32/imagelist.c
@@ -2121,7 +2121,7 @@ ImageList_Merge (HIMAGELIST himl1, INT i1, HIMAGELIST himl2, INT i2,
yOff2 = 0;
}
- himlDst = ImageList_Create (cxDst, cyDst, ILC_MASK | ILC_COLOR, 1, 1);
+ himlDst = ImageList_Create (cxDst, cyDst, ILC_MASK | ILC_COLORDDB, 1, 1);
if (himlDst)
{
--
1.7.5.4
More information about the wine-patches
mailing list