Skip to content
Permalink
Browse files

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

  • Loading branch information
slouken committed Jan 26, 2006
1 parent 8045878 commit 2ff90394c586514e29b3e1eae8d37974716fbf27
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/file/SDL_rwops.c
@@ -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);*/
}

0 comments on commit 2ff9039

Please sign in to comment.