[SDL] Loosing control of SDL window

Sam Lantinga slouken at devolution.com
Tue Nov 25 17:46:02 PST 2003

> I've managed to solve the problem. What I did was calling SDL_Init(0) 
> assuming the event handling subsystems would be initialized. However it 
> was'nt so I have to call SDL_Init() with SDL_INITVIDEO. This is not a good 
> solution for me because the video subsystem might not be used at all. So my 
> question now is if there is a way to initialize event handling without 
> initializing the video subsystem. Perhaps by calling internal SDL 
> functions? Can it be done in a way so that it does'nt create problems when 
> later calling SDL_InitSubSystem(SDL_INITVIDEO)?

Wait, how were you getting an SDL window without using SDL_INIT_VIDEO?

See ya,
	-Sam Lantinga, Software Engineer, Blizzard Entertainment

More information about the SDL mailing list