From edb28e79b519cca51207ad1064747746e55ef8fb Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Mon, 14 Oct 2024 20:55:21 -0500 Subject: [PATCH] Make SDL_LoadBMP() use true instead of 1 --- src/video/SDL_bmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/SDL_bmp.c b/src/video/SDL_bmp.c index 3d292eb5a6..ebead13bde 100644 --- a/src/video/SDL_bmp.c +++ b/src/video/SDL_bmp.c @@ -593,7 +593,7 @@ SDL_Surface *SDL_LoadBMP(const char *file) if (!stream) { return NULL; } - return SDL_LoadBMP_IO(stream, 1); + return SDL_LoadBMP_IO(stream, true); } bool SDL_SaveBMP_IO(SDL_Surface *surface, SDL_IOStream *dst, bool closeio)