[SDL] SDL and batch mode

Nicolas Bredeche nekonaute at yahoo.fr
Wed Jan 7 02:22:51 PST 2009


Hello,

I'm looking for a way to launch a SDL/C++ executables in batch mode (no
OpenGL used), that is: without opening any windows for graphical output. I
would have guessed there would be a simple flag when calling
SDL_SetVideoMode but i failed to find it. Did i miss something obvious? Is
there any simple solution to this?

The motivation is to be able to launch my program several times on a
multi-core linux PC with no video output (distant connection, the process is
launched as standalone (nohup) and i usually disconnect and leave the
processes running).

Thanks!

nicolas

ps: I could not find any answer in the mailing list archive or in google -
but maybe i did not use the right keywords...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20090107/e092a313/attachment.htm>


More information about the SDL mailing list