示例#1
0
文件: gl.go 项目: henkman/Go2D
func GL_DeleteContext(_context *GLContext) {
	C.SDL_GL_DeleteContext(C.SDL_GLContext(_context))
}
示例#2
0
文件: video.go 项目: DeedleFake/sdl
func (ctx GLContext) Delete() {
	C.SDL_GL_DeleteContext(ctx.c())
}
示例#3
0
func GL_DeleteContext(context GLContext) {
	_context := (C.SDL_GLContext)(context)
	C.SDL_GL_DeleteContext(_context)
}
示例#4
0
文件: video.go 项目: flazz/go-sdl2
// GL_DeleteContext (https://wiki.libsdl.org/SDL_GL_DeleteContext)
func GL_DeleteContext(context GLContext) {
	C.SDL_GL_DeleteContext(C.SDL_GLContext(context))
}