2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
5 Desc: Graphics function FreeSpriteData()
8 #include <aros/debug.h>
9 #include <graphics/sprite.h>
11 #include "graphics_intern.h"
13 /*****************************************************************************
16 #include <proto/graphics.h>
18 AROS_LH1(void, FreeSpriteData
,
21 AROS_LHA(struct ExtSprite
*, extsp
, A2
),
24 struct GfxBase
*, GfxBase
, 172, Graphics
)
27 Free sprite data allocated by AllocSpriteData().
30 extsp - The extended sprite structure to be freed.
31 Passing NULL is a NO-OP.
48 ******************************************************************************/
53 if (NULL
!= extsp
->es_BitMap
) {
54 FreeBitMap(extsp
->es_BitMap
);
60 } /* FreeSpriteData */