[SDL] SDL_VIDEODRIVER=windib and SDL_HWSURFACE

apocalypznow apocalypznow at gmail.com
Sun Jan 16 18:57:51 PST 2005


What should be the effect of using windib as the video driver while 
specifying an SDL_HWSURFACE ?   Should I be able to get a hardware 
surface for rendering, or will it become a software surface?


Here is the code:

_putenv("SDL_VIDEODRIVER=windib");
SDL_Init(SDL_INIT_VIDEO);
SDL_Surface screen = SDL_SetVideoMode(640, 480, video_bpp, SDL_HWSURFACE);





More information about the SDL mailing list