gui: Fix IMG_Init failure log

This commit is contained in:
joel16 2023-06-09 19:16:44 -04:00
parent fd454992ee
commit 0be6c75514

View File

@ -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;
}