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);
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);
It will become a software surface.
See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment