2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
5 Desc: AROS Graphics function FreeRastPort
9 #include <graphics/rastport.h>
10 #include <proto/exec.h>
12 /*****************************************************************************
15 #include <graphics/rastport.h>
16 #include <proto/arossupport.h>
24 This frees a RastPort obtained with CloneRastPort() or
28 rp - The result of CloneRastPort() or CreateRastPort().
40 CloneRastPort(), CreateRastPort()
44 *****************************************************************************/
46 FreeVec(rp
->RP_Extra
);
48 FreeMem (rp
, sizeof (struct RastPort
));