[SDL] Why is this programme bad

Michael Bonfils murlock at free.fr
Tue Aug 1 12:40:53 PDT 2006


oops, forgot to test SDL_QUIT :)


		if ( event.type == SDL_KEYDOWN ) {
[...]
		} else if ( event.type == SDL_QUIT )
			quit=true;

-- 
Michael Bonfils ( http://www.murlock.org )
membre de http://www.guses.org




More information about the SDL mailing list