I’ve been playing around with SDL some for the past few days, and finally
got around to checking what SDL was giving me when I asked for a new screen
on the Win2K box I was working on/
To my surprise, SDL_SetVideoMode(320,240,32,SDL_HWSURFACE|SDL_DOUBLEBUF);
gives me neither HWSURFACE nor double buffering. Similarly, it seems to
ignore SDL_SWSURFACE, both with and without DOUBLEBUF. This contradicts
SDL_GetVideoInfo(), which says I should be able to get at least a Hardware
Sufrace, SDL_VideoModeOK, which says I should be able to do it at 32bpp,
and SDL_ListModes, which appears to say that I should be able to get it at
any(?) resolution at 32bpp.
This is repeatable on my Win98 box, with a different graphics card. Both
Win2k and Win98 are using the directx driver.
Incidentally, what kind of surface is a surface that’s neither hardware nor
software?