Skip to content

Commit

Permalink
Some explanation on why SDL_RWFromFP doesn't always work on Win32
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 26, 2006
1 parent 8045878 commit 2ff9039
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/file/SDL_rwops.c
Expand Up @@ -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);*/
}
Expand Down

0 comments on commit 2ff9039

Please sign in to comment.