5 ms·
I believe BMP loading is included into the core SDL2 library, but not other formats, which SDL_image remedies. Here is SDL_Surface.h. SDL_LoadBMP is just a macr
by glouwbug 6y ago
I believe BMP loading is included into the core SDL2 library, but not other formats, which SDL_image remedies. Here is SDL_Surface.h. SDL_LoadBMP is just a macro using SDL_RWFromFile.
https://github.com/SDL-mirror/SDL/blob/master/include/SDL_surface.h#L201 https://github.com/SDL-mirror/SDL/blob/master/include/SDL_su...