Function sdl2_sys::SDL_UnlockTexture
source · [−]pub unsafe extern "C" fn SDL_UnlockTexture(texture: *mut SDL_Texture)
Expand description
\brief Unlock a texture, uploading the changes to video memory, if needed. If SDL_LockTextureToSurface() was called for locking, the SDL surface is freed.
\sa SDL_LockTexture() \sa SDL_LockTextureToSurface()