mirror of
https://github.com/love2d/megasource.git
synced 2026-08-20 04:30:45 +02:00
update SDL3 to latest commit
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
#define HAVE_MATH_H 1
|
||||
#define HAVE_SIGNAL_H 1
|
||||
#define HAVE_STDARG_H 1
|
||||
#define HAVE_STDBOOL_H 1
|
||||
#define HAVE_STDDEF_H 1
|
||||
#define HAVE_STDINT_H 1
|
||||
#define HAVE_STDIO_H 1
|
||||
@@ -58,7 +59,6 @@
|
||||
#define HAVE_REALLOC 1
|
||||
#define HAVE_FREE 1
|
||||
#define HAVE_GETENV 1
|
||||
#define HAVE_SETENV 1
|
||||
#define HAVE_PUTENV 1
|
||||
#define HAVE_SETENV 1
|
||||
#define HAVE_UNSETENV 1
|
||||
@@ -109,6 +109,10 @@
|
||||
#define HAVE_FLOORF 1
|
||||
#define HAVE_FMOD 1
|
||||
#define HAVE_FMODF 1
|
||||
#define HAVE_ISINF 1
|
||||
#define HAVE_ISINF_FLOAT_MACRO 1
|
||||
#define HAVE_ISNAN 1
|
||||
#define HAVE_ISNAN_FLOAT_MACRO 1
|
||||
#define HAVE_LOG 1
|
||||
#define HAVE_LOGF 1
|
||||
#define HAVE_LOG10 1
|
||||
@@ -140,19 +144,28 @@
|
||||
#define HAVE_CLOCK_GETTIME 1
|
||||
|
||||
/* Enable various audio drivers */
|
||||
#define SDL_AUDIO_DRIVER_ANDROID 1
|
||||
#ifndef SDL_AUDIO_DISABLED
|
||||
#define SDL_AUDIO_DRIVER_OPENSLES 1
|
||||
#define SDL_AUDIO_DRIVER_AAUDIO 1
|
||||
#define SDL_AUDIO_DRIVER_DUMMY 1
|
||||
#endif /* SDL_AUDIO_DISABLED */
|
||||
|
||||
/* Enable various input drivers */
|
||||
#ifndef SDL_JOYSTICK_DISABLED
|
||||
#define SDL_JOYSTICK_ANDROID 1
|
||||
#define SDL_JOYSTICK_HIDAPI 1
|
||||
#define SDL_JOYSTICK_VIRTUAL 1
|
||||
#endif /* SDL_JOYSTICK_DISABLED */
|
||||
#ifndef SDL_HAPTIC_DISABLED
|
||||
#define SDL_HAPTIC_ANDROID 1
|
||||
#endif /* SDL_HAPTIC_DISABLED */
|
||||
|
||||
/* Enable the stub process support */
|
||||
#define SDL_PROCESS_DUMMY 1
|
||||
|
||||
/* Enable sensor driver */
|
||||
#ifndef SDL_SENSOR_DISABLED
|
||||
#define SDL_SENSOR_ANDROID 1
|
||||
#endif /* SDL_SENSOR_DISABLED */
|
||||
|
||||
/* Enable various shared object loading systems */
|
||||
#define SDL_LOADSO_DLOPEN 1
|
||||
@@ -177,11 +190,13 @@
|
||||
#define SDL_VIDEO_RENDER_OGL_ES2 1
|
||||
|
||||
/* Enable Vulkan support */
|
||||
/* Android does not support Vulkan in native code using the "armeabi" ABI. */
|
||||
#if defined(__ARM_ARCH) && __ARM_ARCH < 7
|
||||
#define SDL_VIDEO_VULKAN 0
|
||||
/* Android does not support Vulkan in native code using the "armeabi" ABI. */
|
||||
#else
|
||||
#define SDL_VIDEO_VULKAN 1
|
||||
#define SDL_VIDEO_RENDER_VULKAN 1
|
||||
#define SDL_GPU_VULKAN 1
|
||||
#define SDL_VIDEO_RENDER_GPU 1
|
||||
#endif
|
||||
|
||||
/* Enable system power support */
|
||||
@@ -192,8 +207,9 @@
|
||||
#define SDL_FSOPS_POSIX 1
|
||||
|
||||
/* Enable the camera driver */
|
||||
#ifndef SDL_CAMERA_DISABLED
|
||||
#define SDL_CAMERA_DRIVER_ANDROID 1
|
||||
#define SDL_CAMERA_DRIVER_DUMMY 1
|
||||
#endif /* SDL_CAMERA_DISABLED */
|
||||
|
||||
/* Enable nl_langinfo and high-res file times on version 26 and higher. */
|
||||
#if __ANDROID_API__ >= 26
|
||||
|
||||
Reference in New Issue
Block a user