[SDL] WinDIB

Neil Griffiths n.griffiths at virgin.net
Wed Aug 8 07:16:01 PDT 2001


Hi,

> > set SDL_VIDEODRIVER=windib
>
> That works. So, obviously I have windib support, but setting the
> environment variable doesn't. (Even though I check for the return code
> and it is fine. MSDN says "_putenv and _wputenv return 0 if successful,
> or -1 in the case of an error.")

Let me guess. You've made a mistake. You've already called SDL_Init() before
using _putenv(), aren't you?

Neil.





More information about the SDL mailing list