SDL_UnlockSurface function

SDL_UnlockSurface -- Unlocks a previously locked surface.

Syntax

void SDL_UnlockSurface(SDL_Surface* surface);

Description

Surfaces that were previously locked using SDL_LockSurface must be unlocked with SDL_UnlockSurface. Surfaces should be unlocked as soon as possible.

Note : Since 1.1.8, the surface locks are recursive. See SDL_LockSurface for more information.

Parameter

surface [in]

Return value

nothing

See also

SDL_LockSurface

Example

See the example in SDL_LockSurface

Requirements

Header

SDL.h

Version

1.2.13

Shared object

libSDL.so

DLL

SDL.dll


CategorySDLVideo

SDL_UnlockSurface (last edited 2008-10-03 11:55:24 by NeoNeurone)