Eliminado SDL_image

This commit is contained in:
2022-10-21 14:02:16 +02:00
parent 33ad51e1c2
commit 770b06f2da
5 changed files with 20 additions and 15 deletions

View File

@@ -120,12 +120,12 @@ bool init()
SDL_RenderSetLogicalSize(gRenderer, SCREEN_WIDTH, SCREEN_HEIGHT);
// Inicializa el cargador de PNG
int imgFlags = IMG_INIT_PNG;
/*int imgFlags = IMG_INIT_PNG;
if (!(IMG_Init(imgFlags) & imgFlags))
{
printf("SDL_image could not initialize! SDL_image Error: %s\n", IMG_GetError());
success = false;
}
}*/
}
}
}
@@ -143,7 +143,7 @@ void close()
gRenderer = NULL;
// Sal del subsistema SDL
IMG_Quit();
//IMG_Quit();
SDL_Quit();
}