mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-22 23:06:18 +00:00
Disable redundant JPG support
This commit is contained in:
parent
01a244c040
commit
02c9c6f6e4
1 changed files with 1 additions and 1 deletions
|
|
@ -252,7 +252,7 @@ int main(int argc, char *argv[])
|
||||||
if (conf.windowTitle.empty())
|
if (conf.windowTitle.empty())
|
||||||
conf.windowTitle = conf.game.title;
|
conf.windowTitle = conf.game.title;
|
||||||
|
|
||||||
int imgFlags = IMG_INIT_PNG | IMG_INIT_JPG;
|
int imgFlags = IMG_INIT_PNG;
|
||||||
if (IMG_Init(imgFlags) != imgFlags)
|
if (IMG_Init(imgFlags) != imgFlags)
|
||||||
{
|
{
|
||||||
showInitError(std::string("Error initializing SDL_image: ") + SDL_GetError());
|
showInitError(std::string("Error initializing SDL_image: ") + SDL_GetError());
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue