[SDL] Question re SDLmain Design Concept
Sam Lantinga
slouken at devolution.com
Mon Jun 5 12:50:57 PDT 2006
> if you do
> putenv("SDL_VIDEODRIVER=directx");
> in your app, and your app links to a static C lib, and you are using SDL.DLL
> (which will always link to either MSVCRxx.DLL or its own copy of C lib), SDL
> will not see this envvar at all.
Which is why SDL_putenv() and SDL_getenv() exist. :)
-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment
More information about the SDL
mailing list