| M E M _ F R E E P E N T A B ( )
| | | | | SOURCE: qdev_autodocs.txt 1.163 (12/09/2014) English AMIGA - MEM_#?
----------------------------------------------------------------------------
NAME
mem_freepentab() - Releases pens back to free pool.
SYNOPSIS
mem_freepentab(cm, tab);
void mem_freepentab(struct ColorMap *, WORD *);
FUNCTION
This func. should be used after 'mem_remapbitmap()'
if BitMap is no longer in use(displayed).
INPUTS
cm - Pointer to ColorMap.
tab - Pointer to a pen table(cache).
RETURNS
No output.
BASES
GfxBase
NOTES
This function expects that the 'tab' is always 256
WORDs wide!
Call this function even if 'mem_remapbitmap2()' or
'mem_remapbitmap()' did fail!
SEE ALSO
mem_growpenholder(), mem_freepenholder(),
mem_remapbitmap()
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
| |
| |