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]
- The pointer to the surface to unlock.
Return value
nothing
See also
Example
See the example in SDL_LockSurface
Requirements
Header |
SDL.h |
Version |
1.2.13 |
Shared object |
libSDL.so |
DLL |
SDL.dll |
