示例#1
0
func (surface *Surface) Unlock() {
	C.SDL_UnlockSurface(surface.cptr())
}
示例#2
0
文件: sdl.go 项目: kearsley/Go-SDL
// Unlocks a previously locked surface.
func (screen *Surface) Unlock() {
	screen.mutex.Lock()
	C.SDL_UnlockSurface(screen.cSurface)
	screen.mutex.Unlock()
}
示例#3
0
文件: sdl.go 项目: gnanderson/Go-SDL
// Unlocks a previously locked surface.
func (screen *Surface) Unlock() { C.SDL_UnlockSurface((*C.SDL_Surface)(cast(screen))) }
示例#4
0
func (surface *Surface) Unlock() {
	_surface := (*C.SDL_Surface)(unsafe.Pointer(surface))
	C.SDL_UnlockSurface(_surface)
}
示例#5
0
文件: surface.go 项目: willemvds/sdl
func (s *Surface) Unlock() {
	C.SDL_UnlockSurface(s.c())
}
示例#6
0
// Unlocks a previously locked surface.
func (screen *Surface) Unlock() {
	C.SDL_UnlockSurface(screen.cSurface)
}
示例#7
0
文件: video.go 项目: beoran/fungo
func unlockSurface(surface *C.SDL_Surface) {
	C.SDL_UnlockSurface(surface)
}