[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   NAME
	FreeGBuffers -- Deallocate memory obtained by GetGBufers.

   SYNOPSIS
	FreeGBuffers(anOb, rp, db)
	             A0    A1  D0

	void FreeGBuffers(struct AnimOb *, struct RastPort *, BOOL);

   FUNCTION
	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

   INPUTS
	anOb = pointer to the AnimOb structure
	rp   = pointer to the current RastPort
	db   = double-buffer indicator (set TRUE for double-buffering)

   RESULT

   BUGS

   SEE ALSO
	GetGBuffers()  graphics/gels.h  graphics/rastport.h