作者:JalfRes
项目:go-sdl
func (surface *Surface) Unlock() {
C.SDL_UnlockSurface(surface.cptr())
}
作者:kearsle
项目:Go-SD
// Unlocks a previously locked surface.
func (screen *Surface) Unlock() {
screen.mutex.Lock()
C.SDL_UnlockSurface(screen.cSurface)
screen.mutex.Unlock()
}
作者:gnanderso
项目:Go-SD
// Unlocks a previously locked surface.
func (screen *Surface) Unlock() { C.SDL_UnlockSurface((*C.SDL_Surface)(cast(screen))) }
作者:kyleconro
项目:gold
func (surface *Surface) Unlock() {
_surface := (*C.SDL_Surface)(unsafe.Pointer(surface))
C.SDL_UnlockSurface(_surface)
}
作者:willemvd
项目:sd
func (s *Surface) Unlock() {
C.SDL_UnlockSurface(s.c())
}
作者:jbondeso
项目:Go-SDL
// Unlocks a previously locked surface.
func (screen *Surface) Unlock() {
C.SDL_UnlockSurface(screen.cSurface)
}
作者:beora
项目:fung
func unlockSurface(surface *C.SDL_Surface) {
C.SDL_UnlockSurface(surface)
}