Пример #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...
}
Пример #2
0
Файл: alc.go Проект: nzlov/goal
func (context *Context) Destroy() {
	C.alcDestroyContext((*C.ALCcontext)(context))
}
Пример #3
0
// 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
func (con Context) Destroy() error {
	C.alcDestroyContext(con.context)
	return GetError()
}