From b2475c49a18195c19fab0f3ded5c0e7ec2e13e2f Mon Sep 17 00:00:00 2001 From: Flyinghead Date: Thu, 15 Aug 2019 23:19:44 +0200 Subject: [PATCH] osx: no need to fully initialize SDL --- shell/apple/emulator-osx/emulator-osx/osx-main.mm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/shell/apple/emulator-osx/emulator-osx/osx-main.mm b/shell/apple/emulator-osx/emulator-osx/osx-main.mm index cea1cdd6f..bb1e8d4b4 100644 --- a/shell/apple/emulator-osx/emulator-osx/osx-main.mm +++ b/shell/apple/emulator-osx/emulator-osx/osx-main.mm @@ -65,10 +65,6 @@ void os_CreateWindow() { void os_SetupInput() { #if defined(USE_SDL) - if (SDL_Init(0) != 0) - { - die("SDL: Initialization failed!"); - } input_sdl_init(); #endif