Make SDL_LoadBMP() use true instead of 1

This commit is contained in:
Zack Middleton authored and Sam Lantinga committed 2024-10-14 20:07:03 -07:00
1 parent f212cb5f92
commit edb28e79b5
1 file changed
+1 -1
+1 -1
View File
@@ -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)