(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/graphics.h>

void FreeGBuffers (anOb , rp , db)

LOCATION
In GfxBase at offset 100

SYNOPSIS
struct AnimOb * anOb
struct RastPort * rp
BOOL db

FUNCTION
DeAllocate all buffers for a whole AnimOb. In particular this means getting buffers for - BorderLine - SaveBuffer - CollMask - ImageShadow (points to the same memory as CollMask does) - if db is set to TRUE the user wants double-buffering, so we need - DBufPacket - BufBuffer

INPUTS
anOb = pointer to AnimOb structure to be added to list of AnimObs rp = pointer to a valid RastPort with initialized GelsInfo structure
double
buffering is wanted

RESULT

EXAMPLE

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

NOTES
A call to GetGBuffers() that resulted in a partially allocation of the required buffers will result in a deallocation of these buffers. (Possible incompatibility with the real thing, though)

BUGS

INTERNALS
See FreeGBuffers() !!

HISTORY