LCL/gtk2: Fix polygon painting when Pen.Style = psClear and Winding = true. Issue #38852, patch by Anton Kavalenka.

git-svn-id: trunk@65088 -
This commit is contained in:
wp 2021-05-05 20:09:05 +00:00
parent 4b9ae7f263
commit 426f9a5353

View File

@ -6921,7 +6921,7 @@ begin
// create the PointsArray, which is a copy of Points moved by the DCOrigin
// only if needed
if (DevCtx.IsNullPen and (DevCtx.IsNullBrush or Winding)) then
if DevCtx.IsNullPen and DevCtx.IsNullBrush then
PointArray := nil
else
begin