Function SDL_UnlockSurface

pub unsafe extern "C" fn SDL_UnlockSurface(surface: *mut SDL_Surface)
Available on crate feature dep_sdl2 only.
Expand description

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