[SDL] Closing windows
Alan Wolfe
atrix2 at cox.net
Wed Jan 14 12:06:04 PST 2004
you have to check for SDL_QUIT events and make your program exit when it
receives one (:
----- Original Message -----
From: "ALakazam (Skidanov Alexander)" <shd at bk.ru>
To: <sdl at libsdl.org>
Sent: Wednesday, January 14, 2004 12:49 PM
Subject: [SDL] Closing windows
> I've created window by
> SDL_SetVideoMode (400, 300, 32, SDL_SWSURFACE);
> After it I've ran game loop:
> while (1) { game_processing (); }
> When game started I click on the "X" button in the right-top corner of a
> window, but window do not close. Why it so?
>
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
More information about the SDL
mailing list