mirror of
https://github.com/joel16/SwitchIdent.git
synced 2024-11-26 21:20:26 +00:00
gui: Fix IMG_Init failure log
This commit is contained in:
parent
fd454992ee
commit
0be6c75514
@ -45,7 +45,7 @@ namespace GUI {
|
||||
|
||||
int flags = IMG_INIT_PNG;
|
||||
if ((IMG_Init(flags) & flags) != flags) {
|
||||
SDL_Log("SDL_CreateWindow failed: %s\n", SDL_GetError());
|
||||
SDL_Log("IMG_Init failed: %s\n", IMG_GetError());
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user