Commit fa1a025d authored by Sam Lantinga's avatar Sam Lantinga

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

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401272
parent a17bf3f6
...@@ -238,6 +238,7 @@ SDL_RWops *SDL_RWFromFP(FILE *fp, int autoclose) ...@@ -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);*/
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment