unlock method

void unlock()

Release a surface after directly accessing the pixels.

\param surface the SDL_Surface structure to be unlocked.

\since This function is available since SDL 3.1.3.

\sa SDL_LockSurface

extern SDL_DECLSPEC void SDLCALL SDL_UnlockSurface(SDL_Surface *surface)

Implementation

void unlock() {
  sdlUnlockSurface(this);
}