Example #1
0
// Destroys a bitmap. Use this only when really needed!
func (self *Bitmap) Destroy() {
	if self.handle != nil {
		C.al_destroy_bitmap(self.handle)
	}
	self.handle = nil
}
Example #2
0
func (b *Bitmap) Destroy() {

	C.al_destroy_bitmap((*C.ALLEGRO_BITMAP)(b))

}
Example #3
0
func (b *Bitmap) Destroy() {
	C.al_destroy_bitmap((*C.ALLEGRO_BITMAP)(unsafe.Pointer(b)))
}