Exemple #1
0
// Renamed, was GetCurrentContext.
func CurrentContext() *Context {
	return &Context{C.alcGetCurrentContext()}
}
Exemple #2
0
func GetCurrentContext() *Context {
	return (*Context)(C.alcGetCurrentContext())
}
Exemple #3
0
func CurrentContext() Context {
	return Context{C.alcGetCurrentContext()}
}