Exemplo n.º 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...
}
Exemplo n.º 2
0
Arquivo: alc.go Projeto: nzlov/goal
func (context *Context) Destroy() {
	C.alcDestroyContext((*C.ALCcontext)(context))
}
Exemplo n.º 3
0
// Renamed, was DestroyContext.
func (self *Context) Destroy() {
	C.alcDestroyContext(self.handle)
	self.handle = nil
}
Exemplo n.º 4
0
func alcDestroyContext(c unsafe.Pointer) {
	C.alcDestroyContext((*C.ALCcontext)(c))
}
Exemplo n.º 5
0
func (con Context) Destroy() error {
	C.alcDestroyContext(con.context)
	return GetError()
}