sdlFreeSurface function
Free an RGB surface.
It is safe to pass NULL to this function.
\param surface the SDL_Surface to free.
\since This function is available since SDL 2.0.0.
\sa SDL_CreateRGBSurface \sa SDL_CreateRGBSurfaceFrom \sa SDL_LoadBMP \sa SDL_LoadBMP_RW
extern DECLSPEC void SDLCALL SDL_FreeSurface(SDL_Surface * surface)
Implementation
void sdlFreeSurface(Pointer<SdlSurface> surface) {
final sdlFreeSurfaceLookupFunction = libSdl2.lookupFunction<
Void Function(Pointer<SdlSurface> surface),
void Function(Pointer<SdlSurface> surface)>('SDL_FreeSurface');
return sdlFreeSurfaceLookupFunction(surface);
}