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 /*****************************************************************************
14 #include <proto/graphics.h>
16 AROS_LH1(void, FreeSpriteData
,
19 AROS_LHA(struct ExtSprite
*, extsp
, A2
),
22 struct GfxBase
*, GfxBase
, 172, Graphics
)
25 Free sprite data allocated by AllocSpriteData().
28 extsp - The extended sprite structure to be freed.
29 Passing NULL is a NO-OP.
46 ******************************************************************************/
51 if (NULL
!= extsp
->es_BitMap
) {
52 FreeBitMap(extsp
->es_BitMap
);
58 } /* FreeSpriteData */