notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sdl: be more careful with x11, handle quit msg
[libpicofe.git]
/
plat_sdl.h
diff --git
a/plat_sdl.h
b/plat_sdl.h
index
15eeed9
..
d1d62d6
100644
(file)
--- a/
plat_sdl.h
+++ b/
plat_sdl.h
@@
-3,6
+3,7
@@
extern SDL_Surface *plat_sdl_screen;
extern SDL_Overlay *plat_sdl_overlay;
extern int plat_sdl_gl_active;
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);
int plat_sdl_init(void);
int plat_sdl_change_video_mode(int w, int h, int force);