sdl: be more careful with x11, handle quit msg

This commit is contained in:
notaz 2013-01-30 03:50:08 +02:00
parent 215e7ed251
commit 1f84ba9f30
2 changed files with 22 additions and 7 deletions

View file

@ -3,6 +3,7 @@
extern SDL_Surface *plat_sdl_screen;
extern SDL_Overlay *plat_sdl_overlay;
extern int plat_sdl_gl_active;
extern void (*plat_sdl_quit_cb)(void);
int plat_sdl_init(void);
int plat_sdl_change_video_mode(int w, int h, int force);