mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-23 18:53:08 +08:00
Add option "--quit-after-ms N" to automatically quit application after N ms
This commit is contained in:
@@ -153,6 +153,10 @@ typedef struct
|
||||
SDL_Rect confine;
|
||||
bool hide_cursor;
|
||||
|
||||
/* Misc. */
|
||||
int quit_after_ms_interval;
|
||||
SDL_TimerID quit_after_ms_timer;
|
||||
|
||||
/* Options info */
|
||||
SDLTest_ArgumentParser common_argparser;
|
||||
SDLTest_ArgumentParser video_argparser;
|
||||
|
||||
Reference in New Issue
Block a user