Function SDL_UnlockSurface
pub unsafe extern "C" fn SDL_UnlockSurface(surface: *mut SDL_Surface)
Available on crate feature
dep_sdl3
only.Expand description
Release a surface after directly accessing the pixels.
§Parameters
surface
: theSDL_Surface
structure to be unlocked.
§Availability
This function is available since SDL 3.2.0.