[SDL] Hide ouput of the SDL_SetVideoMode
Torsten Giebl
wizard at syntheticsw.com
Tue Jul 4 06:03:31 PDT 2006
Hello !
> Can't you just call SDL_CreateRGBSurface() without calling
> SDL_SetVideoMode()? Maybe it's illegal, but I think it should work as
> long as SDL_Init() succeeded. (I think...) This could be handy for getting
> access to, say, the surface format converters, even if you don't
> specifically plan to use SDL to blit to the screen.
I do this. I init SDL_Init (SDL_INIT_VIDEO)
with the Dummy Video driver and then use the SDL
blitting functions for my app. I do not set any Videomode with
SDL_SetVideoMode. I also use SDL_CreateRGBSurface
in my app a lot to create tiles :
http://www.turricane.net/diary/images/T4ENewEd.png
CU
More information about the SDL
mailing list