LCL: Fix fpc version check in LazCanvas' polygon fill routine.

(cherry picked from commit a39b58d8cd)
This commit is contained in:
wp_xyz 2023-06-27 15:09:04 +02:00 committed by Maxim Ganetsky
parent 5d47fc0e33
commit cb1b303b34

View File

@ -860,9 +860,7 @@ end;
procedure TLazCanvas.Polygon(const Points: array of TPoint; Winding: Boolean);
begin
{$if FPC_FullVersion < 30203}
PolygonNonZeroWindingRule := Winding;
{$ENDIF}
inherited Polygon(Points);
end;