X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=plat_sdl.h;h=a9532657105c16d2daee43752c0e2c6b70cb2414;hb=e288d77607c6c0f3eda615f9dcc2cc81f5396f65;hp=c22561de3d02fc74e623d84b796d995bd5a583e8;hpb=e81b987fc1e567f92298087e32e5d9f01fce0aa7;p=libpicofe.git diff --git a/plat_sdl.h b/plat_sdl.h index c22561d..a953265 100644 --- a/plat_sdl.h +++ b/plat_sdl.h @@ -3,9 +3,11 @@ extern SDL_Surface *plat_sdl_screen; extern SDL_Overlay *plat_sdl_overlay; extern int plat_sdl_gl_active; +extern void (*plat_sdl_resize_cb)(int w, int h); +extern void (*plat_sdl_quit_cb)(void); int plat_sdl_init(void); -int plat_sdl_change_video_mode(int w, int h); +int plat_sdl_change_video_mode(int w, int h, int force); void plat_sdl_overlay_clear(void); void plat_sdl_event_handler(void *event_); void plat_sdl_finish(void);