// MakeContextCurrent makes a context current process-wide. func MakeContextCurrent(c *Context) bool { return C.alcMakeContextCurrent(c.c) == 1 }
func (context *Context) MakeCurrent() bool { return goBool(C.alcMakeContextCurrent((*C.ALCcontext)(context))) }
func alcMakeContextCurrent(c unsafe.Pointer) bool { ctx := (*C.ALCcontext)(c) return C.alcMakeContextCurrent(ctx) == C.ALC_TRUE }
// Renamed, was MakeContextCurrent. func (self *Context) Activate() bool { return C.alcMakeContextCurrent(self.handle) != alFalse }
func (con Context) MakeCurrent() error { C.alcMakeContextCurrent(con.context) return GetError() }
func UnsetCurrentContext() error { C.alcMakeContextCurrent(nil) return GetError() }