vcl/source/outdev/transparent.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
New commits: commit f3c67b783a5dcdf874c6109d36fae8f411e885be Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Wed Jul 29 16:10:09 2020 +0300 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Wed Jul 29 17:21:50 2020 +0200 tdf#135264: draw to mpAlphaVDev after DrawTransparentNatively Otherwise the transparency is lost for the cases where mpAlphaVDev is used. Change-Id: Ic7b92cb69727dbe8901695ba496878f0ea381826 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99694 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/vcl/source/outdev/transparent.cxx b/vcl/source/outdev/transparent.cxx index a9e2ae080e8c..717e9584162a 100644 --- a/vcl/source/outdev/transparent.cxx +++ b/vcl/source/outdev/transparent.cxx @@ -695,10 +695,9 @@ void OutputDevice::DrawTransparent( const tools::PolyPolygon& rPolyPoly, // try hard to draw it directly, because the emulation layers are slower bDrawn = DrawTransparentNatively( rPolyPoly, nTransparencePercent ); - if( bDrawn ) - return; - EmulateDrawTransparent( rPolyPoly, nTransparencePercent ); + if (!bDrawn) + EmulateDrawTransparent( rPolyPoly, nTransparencePercent ); // #110958# Apply alpha value also to VDev alpha channel if( mpAlphaVDev ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits