示例#1
0
func (d *Display) GetBackbuffer() *Bitmap {
	var b *Bitmap

	b = (*Bitmap)(C.al_get_backbuffer((*C.ALLEGRO_DISPLAY)(d)))

	return b
}
示例#2
0
func (d *Display) GetBackbuffer() *Bitmap {
	return (*Bitmap)(unsafe.Pointer(C.al_get_backbuffer((*C.ALLEGRO_DISPLAY)(unsafe.Pointer(d)))))
}
示例#3
0
文件: display.go 项目: beoran/algo
// Gets the backbuffer bitmap of the display
func (self *Display) Backbuffer() *Bitmap {
	return wrapBitmapRaw(C.al_get_backbuffer(self.handle))
}