Some explanation on why SDL_RWFromFP doesn't always work on Win32
authorSam Lantinga <slouken@libsdl.org>
Thu, 26 Jan 2006 06:10:34 +0000
changeset 1269 905d5b482f2a
parent 1268 f098b247299d
child 1270 b1425473be0f
Some explanation on why SDL_RWFromFP doesn't always work on Win32
src/file/SDL_rwops.c
--- a/src/file/SDL_rwops.c	Thu Jan 26 06:06:56 2006 +0000
+++ b/src/file/SDL_rwops.c	Thu Jan 26 06:10:34 2006 +0000
@@ -238,6 +238,7 @@
 
 #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);*/
 	}