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

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401272
This commit is contained in:
Sam Lantinga 2006-01-26 06:10:34 +00:00
parent a17bf3f69d
commit fa1a025d07

View file

@ -238,6 +238,7 @@ SDL_RWops *SDL_RWFromFP(FILE *fp, int autoclose)
#ifdef WIN32 #ifdef WIN32
if ( ! in_sdl ) { 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 (?)"); SDL_SetError("You can't pass a FILE pointer to a DLL (?)");
/*return(NULL);*/ /*return(NULL);*/
} }