New bitmap method SetRGBConversionFunction which can be used to
[tangerine.git] / rom / graphics / freespritedata.c
blob980b7ebe7eaf4d1866582a7e06bcf6e54d84f69a
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Graphics function FreeSpriteData()
6 Lang: english
7 */
8 #include <aros/debug.h>
9 #include <graphics/sprite.h>
11 /*****************************************************************************
13 NAME */
14 #include <proto/graphics.h>
16 AROS_LH1(void, FreeSpriteData,
18 /* SYNOPSIS */
19 AROS_LHA(struct ExtSprite *, extsp, A2),
21 /* LOCATION */
22 struct GfxBase *, GfxBase, 172, Graphics)
24 /* FUNCTION
26 INPUTS
27 extsp - The extended sprite structure to be freed.
28 Passing NULL is a NO-OP.
30 RESULT
32 NOTES
34 EXAMPLE
36 BUGS
38 SEE ALSO
40 INTERNALS
42 HISTORY
45 ******************************************************************************/
47 AROS_LIBFUNC_INIT
48 AROS_LIBBASE_EXT_DECL(struct GfxBase *,GfxBase)
50 if (NULL != extsp) {
51 if (NULL != extsp->es_BitMap) {
52 FreeBitMap(extsp->es_BitMap);
54 FreeVec(extsp);
57 AROS_LIBFUNC_EXIT
58 } /* FreeSpriteData */