Docs » Autodocs » graphics.library » FreeRaster
FreeRaster -- Release an allocated area to the system free memory pool .
FreeRaster( p, width, height) a0 d0:16 d1:16 void FreeRaster( PLANEPTR, USHORT, USHORT);
Return the memory associated with this PLANEPTR of size width and height to the MEMF_CHIP memory pool.
p = a pointer to a memory space returned as a result of a call to AllocRaster. width - the width in bits of the bitplane. height - number of rows in bitplane.
Width and height should be the same values with which you called AllocRaster in the first place.
AllocRaster(), <graphics/gfx.h>
|