예제 #1
0
파일: core.go 프로젝트: pigulon/go-openal
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...
}
예제 #2
0
파일: alc.go 프로젝트: nzlov/goal
func (context *Context) Destroy() {
	C.alcDestroyContext((*C.ALCcontext)(context))
}
예제 #3
0
파일: alcCore.go 프로젝트: dennwc/go-openal
// Renamed, was DestroyContext.
func (self *Context) Destroy() {
	C.alcDestroyContext(self.handle)
	self.handle = nil
}
예제 #4
0
func alcDestroyContext(c unsafe.Pointer) {
	C.alcDestroyContext((*C.ALCcontext)(c))
}
예제 #5
0
파일: alc.go 프로젝트: Jragonmiris/go-al
func (con Context) Destroy() error {
	C.alcDestroyContext(con.context)
	return GetError()
}