示例#1
0
文件: display.go 项目: beoran/algo
// Destroys a display. Use this only when really needed!
func (self *Display) Destroy() {
	if self.handle != nil {
		C.al_destroy_display(self.handle)
	}
	self.handle = nil
}
示例#2
0
func (d *Display) Destroy() {
	C.al_destroy_display((*C.ALLEGRO_DISPLAY)(unsafe.Pointer(d)))
}
示例#3
0
func (d *Display) Destroy() {

	C.al_destroy_display((*C.ALLEGRO_DISPLAY)(d))

}