Beispiel #1
0
func (self *Context) DestroyContext() {
	C.alcDestroyContext(self.handle)
	self.handle = nil
	// XXX: there used to be a alcDestroyContext() that
	// returned something, but our alc.h doesn't list
	// that one... Hmmm...
}
Beispiel #2
0
Datei: alc.go Projekt: nzlov/goal
func (context *Context) Destroy() {
	C.alcDestroyContext((*C.ALCcontext)(context))
}
Beispiel #3
0
// Renamed, was DestroyContext.
func (self *Context) Destroy() {
	C.alcDestroyContext(self.handle)
	self.handle = nil
}
Beispiel #4
0
func alcDestroyContext(c unsafe.Pointer) {
	C.alcDestroyContext((*C.ALCcontext)(c))
}
Beispiel #5
0
func (con Context) Destroy() error {
	C.alcDestroyContext(con.context)
	return GetError()
}