Some explanation on why SDL_RWFromFP doesn't always work on Win32

This commit is contained in:
Sam Lantinga
2006-01-26 06:10:34 +00:00
parent 5d587ee484
commit bfd3ac692d

View File

@@ -238,6 +238,7 @@ SDL_RWops *SDL_RWFromFP(FILE *fp, int autoclose)
#ifdef WIN32
if ( ! in_sdl ) {
/* It's when SDL and the app are compiled with different C runtimes */
SDL_SetError("You can't pass a FILE pointer to a DLL (?)");
/*return(NULL);*/
}