示例#1
0
文件: bitmap.go 项目: beoran/algo
// 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
}
示例#2
0
func (b *Bitmap) Destroy() {

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

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