Exemple #1
0
func (surface *Surface) Unlock() {
	C.SDL_UnlockSurface(surface.cptr())
}
Exemple #2
0
// Unlocks a previously locked surface.
func (screen *Surface) Unlock() {
	screen.mutex.Lock()
	C.SDL_UnlockSurface(screen.cSurface)
	screen.mutex.Unlock()
}
Exemple #3
0
// Unlocks a previously locked surface.
func (screen *Surface) Unlock() { C.SDL_UnlockSurface((*C.SDL_Surface)(cast(screen))) }
Exemple #4
0
func (surface *Surface) Unlock() {
	_surface := (*C.SDL_Surface)(unsafe.Pointer(surface))
	C.SDL_UnlockSurface(_surface)
}
Exemple #5
0
func (s *Surface) Unlock() {
	C.SDL_UnlockSurface(s.c())
}
Exemple #6
0
// Unlocks a previously locked surface.
func (screen *Surface) Unlock() {
	C.SDL_UnlockSurface(screen.cSurface)
}
Exemple #7
0
func unlockSurface(surface *C.SDL_Surface) {
	C.SDL_UnlockSurface(surface)
}