mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 08:58:23 +02:00
LCL: Fix fpc version check in LazCanvas' polygon fill routine.
(cherry picked from commit a39b58d8cd
)
This commit is contained in:
parent
5d47fc0e33
commit
cb1b303b34
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user