From 03f8528315fa46c95991a34f3325d7b33ae5538c Mon Sep 17 00:00:00 2001 From: Edward Rudd <urkle@outoforder.cc> Date: Sat, 02 May 2020 21:48:36 +0000 Subject: [PATCH] Update source to SDL2 2.0.12 --- source/include/SDL_config_iphoneos.h | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/source/include/SDL_config_iphoneos.h b/source/include/SDL_config_iphoneos.h index 56e2b43..38929a8 100644 --- a/source/include/SDL_config_iphoneos.h +++ b/source/include/SDL_config_iphoneos.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org> + Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -71,6 +71,7 @@ #define HAVE_STRCHR 1 #define HAVE_STRRCHR 1 #define HAVE_STRSTR 1 +#define HAVE_STRTOK_R 1 #define HAVE_STRTOL 1 #define HAVE_STRTOUL 1 #define HAVE_STRTOLL 1 @@ -137,7 +138,7 @@ /* Enable MFi joystick support */ #define SDL_JOYSTICK_MFI 1 -/*#define SDL_JOYSTICK_HIDAPI 1*/ +#define SDL_JOYSTICK_HIDAPI 1 #ifdef __TVOS__ #define SDL_SENSOR_DUMMY 1 @@ -181,6 +182,10 @@ #define SDL_VIDEO_VULKAN 1 #endif +#if SDL_PLATFORM_SUPPORTS_METAL +#define SDL_VIDEO_METAL 1 +#endif + /* Enable system power support */ #define SDL_POWER_UIKIT 1 -- Gitblit v1.9.3