mirror of
https://github.com/yawut/SDL.git
synced 2026-09-11 02:26:25 -05:00
Some explanation on why SDL_RWFromFP doesn't always work on Win32
This commit is contained in:
@@ -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);*/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user