mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
Add option "--quit-after-ms N" to automatically quit application after N ms
This commit is contained in:
parent
792bde98c3
commit
128baec810
2 changed files with 35 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue