Kaydet (Commit) 4cb52136 authored tarafından Matúš Kukan's avatar Matúš Kukan

fdo#81148: Fix transparency gradients.

regression from a5351434.
Revert one line from that commit without too much understanding :-/

Change-Id: I126c25e2ad945ef1ec20a5677406434931d0790d
üst bfdacade
...@@ -370,7 +370,7 @@ namespace drawinglayer ...@@ -370,7 +370,7 @@ namespace drawinglayer
OSL_ENSURE(mpContent, "impBufferDevice: No content, check isVisible() before accessing (!)"); OSL_ENSURE(mpContent, "impBufferDevice: No content, check isVisible() before accessing (!)");
if(!mpAlpha) if(!mpAlpha)
{ {
mpAlpha = getVDevBuffer().alloc(mrOutDev, maDestPixel.GetSize(), true, 8); mpAlpha = getVDevBuffer().alloc(mrOutDev, maDestPixel.GetSize(), true, 0);
mpAlpha->SetMapMode(mpContent->GetMapMode()); mpAlpha->SetMapMode(mpContent->GetMapMode());
// copy AA flag for new target; masking needs to be smooth // copy AA flag for new target; masking needs to be smooth
......
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