SDL/src
Eddy Jansson 9e5cbf034a Disallow non-positive allocation.
Ensure that we're not trying to call SDL_small_alloc()
with a count of zero.

Transforming the code like this fixes a
-Wmaybe-uninitialized warning from GCC 12.0.1
2022-04-29 18:34:13 -07:00
..
atomic move bug #5333 fix to headers 2022-02-08 21:32:50 +03:00
audio audio: Revert one of the resampler optimizations. 2022-04-28 15:58:39 -04:00
core joystick: get HID top-level collection preparsed data directly from RawInput API. 2022-04-26 09:48:35 -07:00
cpuinfo Updated copyright for 2022 2022-01-03 09:40:21 -08:00
dynapi Added functions to get the platform dependent name for a joystick or game controller 2022-04-26 14:54:14 -07:00
events Revert "Fix relative mouse input for Unvanquished (unvanquished.net)" 2022-04-22 22:31:04 -07:00
file allow MacOS build without SDL_FILE 2022-01-28 20:40:19 -05:00
filesystem use explicit GetModuleFileNameW 2022-04-18 14:12:22 -04:00
haptic re-use return value of SDL_SetError/WIN_SetErrorFromHRESULT/SDL_OutOfMemory 2022-01-28 20:40:19 -05:00
hidapi hidapi, libusb: import mainstream commit 536bad201e 2022-04-23 20:01:40 +03:00
joystick Check for macOS 10.16 to support apps built with older macOS SDKs 2022-04-29 00:24:23 -07:00
libm Updated copyright for 2022 2022-01-03 09:40:21 -08:00
loadso use SDL_InvalidParamError or SDL_assert instead of custom SDL_SetError 2022-01-28 20:40:19 -05:00
locale Vita: add SDL_GetPreferredLocales support 2022-03-29 15:02:21 -07:00
main Updated to version 2.0.23 for development 2022-04-25 13:45:51 -07:00
misc minor update to winrt/SDL_sysurl.cpp 2022-02-04 20:03:50 +03:00
power Don't fail to get battery status if the upower refresh call fails 2022-02-04 14:02:44 -08:00
render Disallow non-positive allocation. 2022-04-29 18:34:13 -07:00
sensor Removed problematic call to ISensor_SetEventSink() 2022-03-17 10:01:13 -07:00
stdlib Move in va_copy() define block from stdlib. 2022-04-29 10:39:02 -07:00
test Added a define VERBOSE_MOTION_EVENTS to show mouse and finger motion events 2022-04-05 15:03:18 -07:00
thread os2: SDL_DestroyMutex should ignore NULL mutexes. 2022-04-20 14:08:09 -04:00
timer fix os2 timer in fallback mode 2022-04-12 17:01:20 +03:00
video Switch uses of MIN() to SDL_min() 2022-04-29 10:39:51 -07:00
SDL.c Added declaration of SDL_LogInit() and SDL_LogQuit() 2022-04-28 15:01:34 -07:00
SDL_assert.c assert: Allow messages of any length. 2022-04-29 10:39:02 -07:00
SDL_assert_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_dataqueue.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_dataqueue.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_error.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_error_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_hints.c Handle potential out of memory condition when working with hints 2022-04-21 08:47:41 -07:00
SDL_hints_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_internal.h Move in va_copy() define block from stdlib. 2022-04-29 10:39:02 -07:00
SDL_list.c Add SDL_list.c/h 2022-04-01 08:01:44 +02:00
SDL_list.h Add SDL_list.c/h 2022-04-01 08:01:44 +02:00
SDL_log.c log: Allow log messages of any length. 2022-04-29 10:39:02 -07:00
SDL_log_c.h Added declaration of SDL_LogInit() and SDL_LogQuit() 2022-04-28 15:01:34 -07:00