コード例 #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
ファイル: graphics.go プロジェクト: bluepeppers/allegro
func (b *Bitmap) Destroy() {

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

}
コード例 #3
0
ファイル: graphics.go プロジェクト: b1naryth1ef/allegro
func (b *Bitmap) Destroy() {
	C.al_destroy_bitmap((*C.ALLEGRO_BITMAP)(unsafe.Pointer(b)))
}