Skip to content
Permalink
Browse files

Remove useless colorCount reset on mask.

  • Loading branch information
obrix authored and nyalldawson committed Jun 5, 2020
1 parent 63712f2 commit f8d2951c3d72fd95dc6f9d3726c7e98cd053a51e
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/core/qgsmaprendererjob.cpp
@@ -822,7 +822,6 @@ void QgsMapRendererJob::composeSecondPass( LayerRenderJobs &secondPassJobs, Labe
//* Eliminate antialiasing artefact
//* Avoid applying mask opacity to elements under the mask but not masked
QImage maskBinAlpha = maskImage->createMaskFromColor( 0 );
maskBinAlpha.setColorCount( 0 );
QVector<QRgb> mswTable;
mswTable.push_back( qRgba( 0, 0, 0, 255 ) );
mswTable.push_back( qRgba( 0, 0, 0, 0 ) );

0 comments on commit f8d2951

Please sign in to comment.
You can’t perform that action at this time.