From 02c9c6f6e4b8b1f6894bb353bcc129fe9c32c9da Mon Sep 17 00:00:00 2001 From: Vinyl Darkscratch Date: Sat, 6 Oct 2018 19:31:58 -0700 Subject: [PATCH] Disable redundant JPG support --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index bebb63d..c7af9b7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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());