[SDL] Still get SDL window with SetVideoMode(0, 0, 0, SDL_SWSURFACE)

Sylvain Beucler beuc at beuc.net
Mon Oct 1 02:26:31 PDT 2007


Hi,

On Mon, Oct 01, 2007 at 12:20:20AM -0700, manmach wrote:
> I have a wxWidgets application that uses SDL for image processing, but not
> for output.
> 
> So in order not to have an SDL window, I would call
> SDL_SetVideoMode(0,0,0,SDL_SWSURFACE).

This now means "use the current resolution".

I believe you can disable the window using:
putenv("SDL_VIDEODRIVER=dummy");

Can you try that?

-- 
Sylvain


More information about the SDL mailing list