コード例 #1
0
ファイル: bitmap.go プロジェクト: beoran/algo
// Converts the bitmap to the current screen format, to ensure the blitting goes fast
func (self *Bitmap) Convert() {
	C.al_convert_bitmap(self.handle)
}
コード例 #2
0
ファイル: graphics.go プロジェクト: b1naryth1ef/allegro
func (b *Bitmap) Convert() {
	C.al_convert_bitmap((*C.ALLEGRO_BITMAP)(unsafe.Pointer(b)))
}