mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 23:19:24 +02:00
AROS: CreateRastPort as explicit function only needed for ABIv1 (for v0 in graphics.library)
git-svn-id: trunk@35075 -
This commit is contained in:
parent
afaefc32e8
commit
8917b476c0
@ -2478,7 +2478,7 @@ procedure CEND(c: PUCopList); inline;
|
||||
begin
|
||||
CWAIT(c, 10000, 255);
|
||||
end;
|
||||
|
||||
{$ifdef AROS_ABIv1}
|
||||
function CreateRastPort: PRastPort;
|
||||
var
|
||||
RP: PRastPort;
|
||||
@ -2507,7 +2507,7 @@ begin
|
||||
if Assigned(Rp) then
|
||||
FreeMem(Rp);
|
||||
end;
|
||||
|
||||
{$endif}
|
||||
initialization
|
||||
GfxBase := PGfxBase(OpenLibrary(GRAPHICSNAME, 36));
|
||||
finalization
|
||||
|
Loading…
Reference in New Issue
Block a user