sdlUnlockSurface function
Release a surface after directly accessing the pixels.
\param surface the SDL_Surface structure to be unlocked
\since This function is available since SDL 2.0.0.
\sa SDL_LockSurface
extern DECLSPEC void SDLCALL SDL_UnlockSurface(SDL_Surface * surface)
Implementation
void sdlUnlockSurface(Pointer<SdlSurface> surface) {
final sdlUnlockSurfaceLookupFunction = libSdl2.lookupFunction<
Void Function(Pointer<SdlSurface> surface),
void Function(Pointer<SdlSurface> surface)>('SDL_UnlockSurface');
return sdlUnlockSurfaceLookupFunction(surface);
}