Converts image to SDL surface.
function CreateSDLSurfaceFromImage(const ImageData: TImageData; Flags: LongWord; OverrideFormat: TImageFormat = ifUnknown): PSDL_Surface;
ImagingSDL (at line 61)
Flags is used when creating SDL surface using SDL_CreateRGBSurface and is passed to it. OverrideFormat can be used to convert image to specified format before SDL surface is created, ifUnknown means no conversion.