From c1090f81650347ef03a1d50783f8b77b02646f9e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 25 Oct 2017 23:17:15 +0300 Subject: Add missing initialisation for jpeg library. --- src/maingui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/maingui.cpp b/src/maingui.cpp index 64fef6fbc..f4d8d5f79 100644 --- a/src/maingui.cpp +++ b/src/maingui.cpp @@ -122,7 +122,7 @@ int mainGui(int argc, char *argv[]) VirtFs::init(argv[0]); XML::initXML(); #if SDL_IMAGE_VERSION_ATLEAST(1, 2, 11) - IMG_Init(IMG_INIT_PNG); + IMG_Init(IMG_INIT_PNG | IMG_INIT_JPG); #endif // SDL_IMAGE_VERSION_ATLEAST(1, 2, 11) #if SDL_MIXER_VERSION_ATLEAST(1, 2, 11) Mix_Init(MIX_INIT_OGG); -- cgit v1.2.3-70-g09d2