logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_UnlockSurface - Release a surface after directly accessing the pixels.

Availability

       This function is available since SDL 3.2.0.

Function Parameters

surface
              the SDL_Surface structure to be unlocked.

Name

       SDL_UnlockSurface - Release a surface after directly accessing the pixels.

See Also

SDL_LockSurface(3)

Simple Directmedia Layer                           SDL 3.2.20                               SDL_UnlockSurface(3)

Synopsis

#include<SDL3/SDL_surface.h>voidSDL_UnlockSurface(SDL_Surface*surface);

Thread Safety

       This function is not thread safe. The locking referred to by this function is making the pixels available
       for direct access, not thread-safe locking.

See Also