[SDL] "The procedure entry point SDL_UpperBlit could not be
Ryan C. Gordon
icculus at icculus.org
Sun Apr 1 09:36:40 PDT 2007
> I don't know if anything has been done for SDLmain prob for SDL 1.3. I doubt
> it since most people don't regard this as a real problem and I'm likely
> just adding to my reputation as an SDLmain crank.
Anything that can be moved from SDL/src/main to somewhere under SDL_Init
is fine with me. Send patches.
Most of the windows version of main() is just building argc/argv and
redirecting stdio to text files, though, and can be ignored, if you
don't mind supplying your own WinMain(). I'd be inclined to leave the
stdio redirect stuff there, though, as you probably don't want that
unless you want the full "SDL application" experience, which doesn't
apply to a plugin.
The only bits that look suspicious in there are the thing with DDHELP
and SDL_SetModuleHandle()...and both are small things that could
probably move into SDL_Init.
Mac OS X has a lot more going on in the SDLmain code, though.
--ryan.
More information about the SDL
mailing list