diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-07-11 17:04:30 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-07-11 17:10:32 +0200 |
commit | 4cb52136220b417f09eb2156e11436ee0a06729f (patch) | |
tree | 742e243e7ac01f32a619c8f0f0230afaeca7e2c1 /drawinglayer | |
parent | bfdacadec9a6472826a23ef86d5ebe21794e1bf9 (diff) |
fdo#81148: Fix transparency gradients.
regression from a5351434fbea1126961f5dbaa986e7c9e686c24e.
Revert one line from that commit without too much understanding :-/
Change-Id: I126c25e2ad945ef1ec20a5677406434931d0790d
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/processor2d/vclhelperbufferdevice.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx index a99909925293..a3bdbf628dcf 100644 --- a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx +++ b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx @@ -370,7 +370,7 @@ namespace drawinglayer OSL_ENSURE(mpContent, "impBufferDevice: No content, check isVisible() before accessing (!)"); if(!mpAlpha) { - mpAlpha = getVDevBuffer().alloc(mrOutDev, maDestPixel.GetSize(), true, 8); + mpAlpha = getVDevBuffer().alloc(mrOutDev, maDestPixel.GetSize(), true, 0); mpAlpha->SetMapMode(mpContent->GetMapMode()); // copy AA flag for new target; masking needs to be smooth |