Docs » Autodocs » graphics.library » FreeGBuffers
FreeGBuffers -- Deallocate memory obtained by GetGBufers.
FreeGBuffers(anOb, rp, db) A0 A1 D0 void FreeGBuffers(struct AnimOb *, struct RastPort *, BOOL);
For each sequence of each component of the AnimOb, deallocate memory for: SaveBuffer BorderLine CollMask and ImageShadow (point to same buffer) if db is set (user had used double-buffering) deallocate: DBufPacket BufBuffer
anOb = pointer to the AnimOb structure rp = pointer to the current RastPort db = double-buffer indicator (set TRUE for double-buffering)
GetGBuffers(), <graphics/gels.h>, <graphics/rastport.h>
|