Disable redundant JPG support

This commit is contained in:
Vinyl Darkscratch 2018-10-06 19:31:58 -07:00
parent 01a244c040
commit 02c9c6f6e4

View file

@ -252,7 +252,7 @@ int main(int argc, char *argv[])
if (conf.windowTitle.empty())
conf.windowTitle = conf.game.title;
int imgFlags = IMG_INIT_PNG | IMG_INIT_JPG;
int imgFlags = IMG_INIT_PNG;
if (IMG_Init(imgFlags) != imgFlags)
{
showInitError(std::string("Error initializing SDL_image: ") + SDL_GetError());