We should only mark functions as inline if necessary for performance

This commit is contained in:
Sam Lantinga
2022-11-26 11:18:24 -08:00
parent fa5adcafd5
commit 581f1ca5c8

View File

@@ -436,7 +436,7 @@ stdio_close(SDL_RWops * context)
return status;
}
static SDL_INLINE SDL_RWops *
static SDL_RWops *
SDL_RWFromFP(void *fp, SDL_bool autoclose)
{
SDL_RWops *rwops = NULL;