Deallocate memory obtained by GetGBuffers()
Source position: agraphics.pas line 2142
procedure FreeGBuffers( |
AnOb: PAnimOb; |
Rp: PRastPort; |
db: LongBool |
); |
AnOb |
|
A pointer to the AnimOb structure |
Rp |
|
A pointer to the current RastPort |
db |
|
Double-buffer indicator (set True for double-buffering) |
For each sequence of each component of the AnimOb, deallocate memory for:
if db is set (user had used double-buffering) deallocate:
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)
|
Attempt to allocate ALL buffers of an entire AnimOb. |