Free an RGB surface.
void SDL_FreeSurface(SDL_Surface * surface);
It is safe to pass NULL to this function.
This function is available since SDL 2.0.0.
All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.