summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-10-25 23:17:15 +0300
committerAndrei Karas <akaras@inbox.ru>2017-10-25 23:17:15 +0300
commitc1090f81650347ef03a1d50783f8b77b02646f9e (patch)
tree55d48c2badc4219a36f030869902321d4d5fb65e
parent3f6e74328692d9a66ffa27fef8df7a10869fc1eb (diff)
downloadplus-c1090f81650347ef03a1d50783f8b77b02646f9e.tar.gz
plus-c1090f81650347ef03a1d50783f8b77b02646f9e.tar.bz2
plus-c1090f81650347ef03a1d50783f8b77b02646f9e.tar.xz
plus-c1090f81650347ef03a1d50783f8b77b02646f9e.zip
Add missing initialisation for jpeg library.
-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);