diff options
Diffstat (limited to 'sdl/platform.c')
-rw-r--r-- | sdl/platform.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sdl/platform.c b/sdl/platform.c index 7c7bcdd..1fd9129 100644 --- a/sdl/platform.c +++ b/sdl/platform.c @@ -73,7 +73,10 @@ void platform_init(struct platform *p) event_tbl.keydown = event_keydown; ret = event_handler_init(p, &event_tbl); if (ret == -1) - fprintf(stderr, "platform: warning, failed to init event handler\n"); + { + fprintf(stderr, "platform: failed to init event handler\n"); + exit(-1); + } /* init client */ p->client_init(p->c); |