home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 432b.lha / EzLib / doc / free_bitmap.doc < prev    next >
Text File  |  1990-11-10  |  741b  |  23 lines

  1. FUNCTION  free_bitmap()  -  Free up a previously allocated bitmap struct
  2.  
  3.        free_bitmap(bm, width, height)
  4.       struct BitMap *bm;
  5.       int width, height;
  6.  
  7.     This function will simply free up all the resources taken by the given
  8. bitmap.  The BitMap structure itself is freed, and should no longer be used
  9. after this function.
  10.  
  11.    Just make sure to call this function on a previously allocated bitmap,
  12. and not something like your custom screen bitmap.  Preferably you would
  13. have used something like getbitmap() to allocate the bitmap you wish to
  14. free.
  15.  
  16. TODO : maybe get rid of the width,height arguments?  could calculate it
  17.        internally, but I might be off
  18.  
  19. BUGS : roaches, ants, gnats, etc...
  20.  
  21. SEE ALSO : getbitmap(), makescreen()
  22.  
  23.