diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-10-25 23:17:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-10-25 23:17:15 +0300 |
commit | c1090f81650347ef03a1d50783f8b77b02646f9e (patch) | |
tree | 55d48c2badc4219a36f030869902321d4d5fb65e /src | |
parent | 3f6e74328692d9a66ffa27fef8df7a10869fc1eb (diff) | |
download | plus-c1090f81650347ef03a1d50783f8b77b02646f9e.tar.gz plus-c1090f81650347ef03a1d50783f8b77b02646f9e.tar.bz2 plus-c1090f81650347ef03a1d50783f8b77b02646f9e.tar.xz plus-c1090f81650347ef03a1d50783f8b77b02646f9e.zip |
Add missing initialisation for jpeg library.
Diffstat (limited to 'src')
-rw-r--r-- | src/maingui.cpp | 2 |
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); |