mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-03 03:00:24 +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);
|
procedure TLazCanvas.Polygon(const Points: array of TPoint; Winding: Boolean);
|
||||||
begin
|
begin
|
||||||
{$if FPC_FullVersion < 30203}
|
|
||||||
PolygonNonZeroWindingRule := Winding;
|
PolygonNonZeroWindingRule := Winding;
|
||||||
{$ENDIF}
|
|
||||||
inherited Polygon(Points);
|
inherited Polygon(Points);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user