[SDL] Re: SDL & OpenGL
berglund
berg.lund at mbox301.swipnet.se
Wed Jun 14 10:23:26 PDT 2000
#ifdef WIN32
if (!getenv("SDL_VIDEODRIVER") )
{
putenv("SDL_VIDEODRIVER=windib");
}
#endif
I just though I should point out that this is _not_ as it might seem an ugly hack
to get it working. The microsoft driver conformance tests for OpenGL does _not_
require that the driver can render to DirectDraw surfaces (SDL uses DirectDraw
surfaces by default) and therefore there is a bunch of drivers that does not work
that way and even more that are more or less unstable.
There is no possiblity (short of getting in bed with Billy-boy) for SDL to fix
this so the only good way to do it is to use GDI (hopefully SDL will in later
versions take some kind of OpenGL-hint and use GDI automaticly).
More information about the SDL
mailing list