Fix viewport resize and cleanup code structure of viewport width and height
[mercenary-reloaded.git] / src / libsdl / sdl.h
index 83882d8..e731599 100644 (file)
@@ -82,7 +82,7 @@ enum keycode {
        KEYCODE_INSERT,
 };
 
-int init_sdl(const char *progname, int width, int height, int sound_samplerate, int sound_chunk, void (*keyboard)(int down, enum keycode keycode), void (*audio)(float *data, int len), int multisampling, int vbl_sync);
+int init_sdl(const char *progname, int width, int height, int sound_samplerate, int sound_chunk, void (*keyboard)(int down, enum keycode keycode), void (*audio)(float *data, int len), void (*resize_window)(int width, int height), int multisampling, int vbl_sync);
 int event_sdl(void);
 void swap_sdl(void);
 void exit_sdl(void);