Make SDL_LoadBMP() use true instead of 1

This commit is contained in:
Zack Middleton
2024-10-14 20:55:21 -05:00
committed by Sam Lantinga
parent f212cb5f92
commit edb28e79b5

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)