示例#1
0
func (texture *Texture) Unlock() {
	_texture := (*C.SDL_Texture)(unsafe.Pointer(texture))
	(C.SDL_UnlockTexture(_texture))
}
示例#2
0
文件: render.go 项目: emlai/go-sdl2
// Texture (https://wiki.libsdl.org/SDL_UnlockTexture)
func (texture *Texture) Unlock() {
	C.SDL_UnlockTexture(texture.cptr())
}
示例#3
0
文件: render.go 项目: willemvds/sdl
func (t *Texture) Unlock() {
	C.SDL_UnlockTexture(t.c)
}