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:
parent
a17bf3f69d
commit
fa1a025d07
1 changed files with 1 additions and 0 deletions
|
@ -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);*/
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue