コード例 #1
0
ファイル: sdl_render.go プロジェクト: kyleconroy/golds
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)
}