3 ms·
Just fyi, I think SDL_LoadBMP relies on sdl2_image; you may want to note that as a dependency.
by moonchild 6y ago
Just fyi, I think SDL_LoadBMP relies on sdl2_image; you may want to note that as a dependency.
- glouwbug 6y agoI 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...