Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 830 Bytes

FreeGBuffers.md

File metadata and controls

40 lines (26 loc) · 830 Bytes

NAME

FreeGBuffers -- Deallocate memory obtained by GetGBufers.

SYNOPSIS

    FreeGBuffers(anOb, rp, db)
                 A0    A1  D0

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

Links: AnimOb RastPort

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