minor build fix.

This commit is contained in:
Ozkan Sezer 2019-07-31 01:19:26 +03:00
parent fdc67c3c60
commit f96d7cc0fd
1 changed files with 1 additions and 1 deletions

View File

@ -585,7 +585,7 @@ SDL_RWFromFile(const char *file, const char *mode)
if (fp == NULL) {
SDL_SetError("Couldn't open %s", file);
} else {
rwops = SDL_RWFromFP(fp, 1);
rwops = SDL_RWFromFP(fp, SDL_TRUE);
}
}
#else