Does SDL_SetVideoMode or SDL_Init (SDL_INIT_VIDEO) initializes DDraw? And if
it so, can I initialize SDL_INIT_VIDEO w/o initialize of DirectDraw and w/o
relink of SDL.dll?
ALakazam (Skidanov Alexander) wrote:
Does SDL_SetVideoMode or SDL_Init (SDL_INIT_VIDEO) initializes DDraw? And if
it so, can I initialize SDL_INIT_VIDEO w/o initialize of DirectDraw and w/o
relink of SDL.dll?
What do you mean ? You don’t want any video or you don’t want video that
uses direct draw ?
For the second, you can use the windib backend of SDL (it’s slower, but
it should work the same). You juste have to set the environment variable
SDL_VIDEODRIVER to windib (I’m not sure how that’s done under windows)
as seen there :
http://sdldoc.csn.ul.ie/sdlenvvars.php
Stephane