diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/outdev/bitmap.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/outdev/bitmap.cxx b/vcl/source/outdev/bitmap.cxx index c414a3921789..fc6095812b6c 100644 --- a/vcl/source/outdev/bitmap.cxx +++ b/vcl/source/outdev/bitmap.cxx @@ -1065,7 +1065,7 @@ bool OutputDevice::DrawTransformBitmapExDirect( } else if (mpAlphaVDev) { - aAlphaBitmap = Bitmap(rBitmapEx.GetSizePixel(), 1); + aAlphaBitmap = Bitmap(rBitmapEx.GetSizePixel(), 8); aAlphaBitmap.Erase(COL_BLACK); } @@ -1082,7 +1082,7 @@ bool OutputDevice::DrawTransformBitmapExDirect( if (mpAlphaVDev) { // Merge bitmap alpha to alpha device - Bitmap aBlack(rBitmapEx.GetSizePixel(), 1); + Bitmap aBlack(rBitmapEx.GetSizePixel(), 8); aBlack.Erase(COL_BLACK); mpAlphaVDev->DrawTransformBitmapExDirect(aFullTransform, BitmapEx(aBlack, aAlphaBitmap)); } |