From 81830e937b8125ef3e9b4587dae866280324a768 Mon Sep 17 00:00:00 2001 From: ivanhoe <107501-ivanhoe@users.noreply.gitlab.com> Date: Sun, 29 Dec 2019 19:06:24 +0100 Subject: [PATCH] tsoding#1225 don't init SDL haptic subsystem --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 878bb2bd..f53433c8 100644 --- a/src/main.c +++ b/src/main.c @@ -106,7 +106,7 @@ int main(int argc, char *argv[]) } } - if (SDL_Init(SDL_INIT_EVERYTHING) < 0) { + if (SDL_Init(SDL_INIT_EVERYTHING & ~SDL_INIT_HAPTIC) < 0) { log_fail("Could not initialize SDL: %s\n", SDL_GetError()); RETURN_LT(lt, -1); } -- 2.44.0