SDL_UnlockSurface - Man Page

Release a surface after directly accessing the pixels.

Header File

Defined in SDL3/SDL_surface.h

Synopsis

#include "SDL3/SDL.h"

void SDL_UnlockSurface(SDL_Surface *surface);

Function Parameters

surface

the SDL_Surface
structure to be unlocked.

Availability

This function is available since SDL 3.2.0.

See Also

·(3), SDL_LockSurface(3)

Referenced By

SDL_LockSurface(3), SDL_SetSurfaceRLE(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS