SDL_LoadBMP vs IMG_Load

If I’m already using SDL_image, would/should I ever need to use SDL_LoadBMP, or can I just stick to IMG_Load for all image formats?

If all you’re supporting is BMP then SDL_LoadBMP is fine, otherwise use SDL_Image or stb_image for everything.

1 Like