SDL/src
Ryan C. Gordon 983f178b7d
render: Clip lines before Bresenham algorithm generates points.
Otherwise, a massive line might generate gigabytes worth of points to render,
which the backend would simply throw away anyhow.

Fixes #8113.

(cherry picked from commit 4339647d90)
2023-11-24 19:34:47 -05:00
..
atomic Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
audio Fixed build warning 2023-11-16 10:28:54 -08:00
core SDL_RunApp: Make sure argc/argv are stable if the caller didn't define them. 2023-11-22 17:34:39 -05:00
cpuinfo cpuinfo: Fix detection of physical memory above 2GB on NetBSD 2023-11-12 18:12:18 -08:00
dynapi Removed the window shape API for SDL 3.0 2023-11-22 14:11:10 -08:00
events SDL_PenModifyForWacomID: return zero as axis_flags upon failure. 2023-11-23 11:56:50 +03:00
file Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
filesystem Re-add SDL_assert() with non boolean ptr syntax (#8530) 2023-11-11 12:28:24 +03:00
haptic Re-add SDL_assert() with non boolean ptr syntax (#8530) 2023-11-11 12:28:24 +03:00
hidapi hidapi: syncing with mainstream: 2023-11-23 11:35:02 +03:00
joystick Corrected comment 2023-11-22 10:35:15 -08:00
libm libm: use union for infinity 2023-09-25 18:02:40 +02:00
loadso Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
locale Re-add SDL_assert() with non boolean ptr syntax (#8530) 2023-11-11 12:28:24 +03:00
main Fixed emscripten and iOS builds 2023-11-08 14:14:41 -08:00
misc Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
power Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
render render: Clip lines before Bresenham algorithm generates points. 2023-11-24 19:34:47 -05:00
sensor Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
stdlib revise iconv detection: 2023-11-23 04:30:56 +03:00
test render: Batching is always enabled now! 2023-11-23 20:37:52 -05:00
thread Don't leak if realloc fails 2023-11-10 06:33:39 -08:00
timer Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
video rect: Avoid numeric overflow on massive lines in SDL_IntersectRectAndLine. 2023-11-24 19:34:20 -05:00
SDL.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
SDL_assert.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
SDL_assert_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_error.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
SDL_error_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_guid.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
SDL_hashtable.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
SDL_hashtable.h hashtable: SDL_IterateHashTable might as well provide both key and value. 2023-10-14 13:23:03 -04:00
SDL_hints.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
SDL_hints_c.h For gamepads that don't have their own sensors, try to use the system sensors. 2023-06-16 14:44:59 -07:00
SDL_internal.h add HAVE_GCC_DIAGNOSTIC_PRAGMA to SDL_internal.h, use it 2023-11-23 11:33:20 +03:00
SDL_list.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
SDL_list.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_log.c add HAVE_GCC_DIAGNOSTIC_PRAGMA to SDL_internal.h, use it 2023-11-23 11:33:20 +03:00
SDL_log_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_properties.c properties: Use a mutex instead of an RWLock to guard the hash table 2023-11-13 18:28:24 -05:00
SDL_properties_c.h Added SDL properties API 2023-10-11 22:38:00 -07:00
SDL_utils.c Improve sensor detection for Linux gamepad 2023-06-26 07:32:40 -07:00
SDL_utils_c.h Improve sensor detection for Linux gamepad 2023-06-26 07:32:40 -07:00