[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