[SDL] Surfaces without video screen
Jonathan Dearborn
grimfang4 at hotmail.com
Thu May 8 06:04:11 PDT 2008
Can't you do:
SDL_SetVideoMode(0, 0, bpp, flags);
To avoid creating a surface and opening a window?
Jonny D
> Date: Wed, 7 May 2008 12:39:06 -0700
> From: masonwheeler at yahoo.com
> To: sdl at lists.libsdl.org
> Subject: [SDL] Surfaces without video screen
>
> The documentation says that the CreateSurface functions should be called after SDL_SetVideoMode. What if I don't want a SDL video screen? I have an idea to create SDL_Surface objects in memory and then save them to disc with some pointer swizzling tricks, but the program that would be doing this would be an editor, for which ordinary GUI widgetset design would be far simpler than SDL. Any workarounds available?
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
_________________________________________________________________
Stay in touch when you're away with Windows Live Messenger.
http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_messenger_052008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20080508/eb83dbac/attachment.htm>
More information about the SDL
mailing list