SDL/src
Anonymous Maarten f00b0291b3 surface: cannot set a palette to a non-indexed surface
This fixes a UBSAN warning later in this function where it calculates
(1 << SDL_BITSPERPIXEL(surface->format)). The bpp might be >= 32 and
out of range for a bit shift.

(cherry picked from commit d5af35e3fb)
2026-05-14 20:55:02 -07:00
..
atomic atomic: Implement loads on MSVC without RMW operations 2026-05-11 06:43:40 -07:00
audio pipewire: Don't mark a device disconnected if pw_stream_dequeue_buffer fails. 2026-04-02 13:59:43 -04:00
camera camera: Fix crash when setting frame rate and improve FPS precision 2026-03-02 12:00:32 -08:00
core Fix warning: strict prototypes (#14992) 2026-05-13 19:32:50 +03:00
cpuinfo Updated copyright for 2026 2026-01-01 09:48:19 -08:00
dialog make sure #endif comment matches the macro name 2026-05-14 16:29:53 -07:00
dynapi Improve constness with Clipboard APIs 2026-04-19 07:06:43 -04:00
events Return the touch device name for SDL_TOUCH_MOUSEID 2026-05-13 09:07:51 -07:00
filesystem SDL_EnumerateDirectory(""): Don't append path separator if path is empty 2026-04-23 22:53:16 -04:00
gpu GPU: Refactor Vulkan barriers to fix defrag segfault (#15593) 2026-05-14 17:02:13 -07:00
haptic make sure #endif comment matches the macro name 2026-05-14 16:29:53 -07:00
hidapi hidapi, windows: Fix -Wjump-misses-init warning (#14990) 2026-05-13 19:32:50 +03:00
io io: With stdio, only forbid opening directories as files. 2026-03-12 13:17:08 -04:00
joystick Fix HIDAPI support for Flydigi Vader 5 Pro (#15594) 2026-05-14 17:33:36 -07:00
libm Updated copyright for 2026 2026-01-01 09:48:19 -08:00
loadso Updated copyright for 2026 2026-01-01 09:48:19 -08:00
locale emscripten: Move some EM_ASM blocks to MAIN_THREAD_EM_ASM. 2026-02-20 10:28:12 -05:00
main emscripten: Add support for automounting persistent storage before SDL_main. 2026-03-29 07:41:37 -07:00
misc misc: Use the OpenURI D-Bus portal for opening URLs 2026-04-05 16:33:11 -04:00
power More prefer SDL_zero*() 2026-01-23 16:02:27 -08:00
process process: Don't duplicate NULL stdio handles on Windows. 2026-03-30 16:28:41 -04:00
render PS2, VITA: Fix void pointer arithmetic warnings (#14995) 2026-05-13 19:32:50 +03:00
sensor make sure #endif comment matches the macro name 2026-02-24 09:49:08 -08:00
stdlib Fix msvc analyzer warnings 2026-03-30 10:49:46 -07:00
storage Updated copyright for 2026 2026-01-01 09:48:19 -08:00
test Updated copyright for 2026 2026-01-01 09:48:19 -08:00
thread make sure #endif comment matches the macro name 2026-05-14 16:29:53 -07:00
time include: Added \threadsafety notes to about 60 more functions. 2026-02-18 19:51:25 -05:00
timer Use Uint64 instead for tick_numerators in USE_128BIT_MATH 2026-02-25 20:19:30 -08:00
tray Fix warning: strict prototypes (#14992) 2026-05-13 19:32:50 +03:00
video surface: cannot set a palette to a non-indexed surface 2026-05-14 20:55:02 -07:00
SDL.c Deprecate SDL_INIT_EVERYTHING from SDL2 2026-03-03 15:10:43 -05:00
SDL_assert.c make sure #endif comment matches the macro name 2026-02-24 09:49:08 -08:00
SDL_assert_c.h Updated copyright for 2026 2026-01-01 09:48:19 -08:00
SDL_error.c error: Alternate between two buffers in SDL_SetError. 2026-04-25 15:18:25 -04:00
SDL_error_c.h error: Alternate between two buffers in SDL_SetError. 2026-04-25 15:18:25 -04:00
SDL_guid.c Prefer SDL_zero()/SDL_zerop() 2026-01-23 11:23:55 -08:00
SDL_hashtable.c Updated copyright for 2026 2026-01-01 09:48:19 -08:00
SDL_hashtable.h Updated copyright for 2026 2026-01-01 09:48:19 -08:00
SDL_hints.c Updated copyright for 2026 2026-01-01 09:48:19 -08:00
SDL_hints_c.h Updated copyright for 2026 2026-01-01 09:48:19 -08:00
SDL_internal.h Loading PNG files are part of the core SDL library 2026-03-01 11:44:01 -08:00
SDL_list.c Updated copyright for 2026 2026-01-01 09:48:19 -08:00
SDL_list.h Updated copyright for 2026 2026-01-01 09:48:19 -08:00
SDL_log.c Updated copyright for 2026 2026-01-01 09:48:19 -08:00
SDL_log_c.h Updated copyright for 2026 2026-01-01 09:48:19 -08:00
SDL_properties.c Updated copyright for 2026 2026-01-01 09:48:19 -08:00
SDL_properties_c.h Updated copyright for 2026 2026-01-01 09:48:19 -08:00
SDL_utils.c Fixed crash in SDL_startswith() when passed NULL strings 2026-04-24 07:34:54 -07:00
SDL_utils_c.h dbus: Better handle local URI paths 2026-04-06 19:45:12 -04:00