summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/maingui.cpp2
1 files changed, 1 insertions, 1 deletions
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);