Kaydet (Commit) 7f5faa7f authored tarafından Armin Le Grand's avatar Armin Le Grand Kaydeden (comit) Caolán McNamara

Resolves: #i122758# Initialize Mask with non-transparent

(cherry picked from commit db4affff)

Change-Id: I4851c544b23d2857a0f13cff3ede987ebb813cef
üst 98d26079
......@@ -451,7 +451,8 @@ namespace drawinglayer
#if defined(MACOSX)
const AlphaMask aMaskBmp( aContent.GetSizePixel());
#else
const Bitmap aMaskBmp( aContent.GetSizePixel(), 1);
Bitmap aMaskBmp( aContent.GetSizePixel(), 1);
aMaskBmp.Erase(Color(COL_BLACK)); // #122758# Initialize to non-transparent
#endif
aBitmapEx = BitmapEx(aContent, aMaskBmp);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment