From 2ff90394c586514e29b3e1eae8d37974716fbf27 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 26 Jan 2006 06:10:34 +0000 Subject: [PATCH] Some explanation on why SDL_RWFromFP doesn't always work on Win32 --- src/file/SDL_rwops.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/file/SDL_rwops.c b/src/file/SDL_rwops.c index 1f3717629..dfd0e1db4 100644 --- a/src/file/SDL_rwops.c +++ b/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);*/ }