Commit 426f9a53 authored by wp's avatar wp
Browse files

LCL/gtk2: Fix polygon painting when Pen.Style = psClear and Winding = true....

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

git-svn-id: trunk@65088 -
parent 4b9ae7f2
......@@ -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
......
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