// 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 }
func (d *Display) Destroy() { C.al_destroy_display((*C.ALLEGRO_DISPLAY)(unsafe.Pointer(d))) }
func (d *Display) Destroy() { C.al_destroy_display((*C.ALLEGRO_DISPLAY)(d)) }