SDL/src
Daniel Gibson 9a81892447 Old env vars as fallback for SDL_VIDEO_DRIVER + SDL_AUDIO_DRIVER #11115
especially SDL_VIDEODRIVER is commonly used to use the native Wayland
backend, so I think it's a good idea to keep supporting the old name
instead of forcing users to find out that they now have to add an
underscore..
Not sure how popular SDL_AUDIODRIVER is, but with all the audio backends
that exist on Linux alone I'm sure some people use it to work around
sound issues.

Note: Doing this in the SDL_hints implementation instead of the
call-sites of SDL_GetHint(SDL_HINT_VIDEO_DRIVER) etc ensures that
1. Hint priorities work (env var overriding hint set by application with normal
   priority, but not when application used SDL_HINT_OVERRIDE)
2. SDL_ResetHint() (called by user code) respects the fallback
   environment variable
2024-10-12 08:47:02 -07:00
..
atomic Removed SDL_bool in favor of plain bool 2024-09-18 08:32:30 -07:00
audio emscripten: Fixes for data addresses above 2gb 2024-10-08 17:41:18 -04:00
camera fix pipewire prototype 2024-10-05 18:16:12 -07:00
core Updated to version 3.1.5 for development 2024-10-09 11:02:01 -07:00
cpuinfo Removed SDL_bool in favor of plain bool 2024-09-18 08:32:30 -07:00
dialog Allow building both Cocoa and dummy dialog implementations 2024-10-07 18:01:39 -07:00
dynapi GPU: Add SDL_CalculateGPUTextureFormatSize (#11146) 2024-10-10 16:34:38 -07:00
events clipboard: include mime types in SDL_ClipboarUpdate 2024-10-05 18:19:10 -07:00
file Use file descriptor I/O for process pipes 2024-10-04 12:24:17 -07:00
filesystem Include stdbool.h when using Visual Studio 2017+ 2024-10-01 09:57:59 -07:00
gpu Fixed warning C4723: potential divide by 0 2024-10-11 19:31:22 -07:00
haptic Include stdbool.h when using Visual Studio 2017+ 2024-10-01 09:57:59 -07:00
hidapi loadso: library handles are now `SDL_SharedObject*` instead of `void*`. 2024-10-01 12:16:10 -04:00
joystick Default SDL_HINT_JOYSTICK_GAMEINPUT to "1" on GDK platforms 2024-10-09 07:30:13 -07:00
libm libm/e_exp.c: fix gcc warning on 32 bit: 2024-10-10 18:23:20 +03:00
loadso loadso: library handles are now `SDL_SharedObject*` instead of `void*`. 2024-10-01 12:16:10 -04:00
locale Re-added SDL_getenv() as a thread-safe getenv() implementation 2024-09-15 09:37:04 -07:00
main Added SDL_DelayPrecise() 2024-10-10 08:06:18 -07:00
misc Removed SDL_bool in favor of plain bool 2024-09-18 08:32:30 -07:00
power winrt: Removed WinRT/Windows Phone/UWP support. 2024-09-06 13:28:39 -04:00
process Use file descriptor I/O for process pipes 2024-10-04 12:24:17 -07:00
render Added SDL_DelayPrecise() 2024-10-10 08:06:18 -07:00
sensor Rename SDL_SetThreadPriority() to SDL_SetCurrentThreadPriority() 2024-10-04 08:57:03 -07:00
stdlib Added SDL_StepBackUTF8() 2024-10-09 09:49:10 -07:00
storage Include stdbool.h when using Visual Studio 2017+ 2024-10-01 09:57:59 -07:00
test Allow linear interpolation of the font textures 2024-10-07 21:43:57 -07:00
thread thread: Rewrote generic Condition Variables. 2024-10-10 15:03:53 -04:00
time Removed SDL_bool in favor of plain bool 2024-09-18 08:32:30 -07:00
timer Always use WaitForSingleObjectEx() as a fallback in SDL_SYS_DelayNS() 2024-10-11 21:18:31 -07:00
video Reduce the size of the SDL_blit_0 alpha code 2024-10-12 08:29:11 -07:00
SDL.c init: Log '<unspecified>' not '(null)' if the app name isn't set. 2024-10-08 14:30:55 -04:00
SDL_assert.c windows: Clean out things that should be using `defined(SDL_PLATFORM_WINDOWS)`. 2024-09-06 13:28:39 -04:00
SDL_assert_c.h Use C++ style comments consistently in SDL source code 2024-08-22 13:30:02 -07:00
SDL_error.c Removed SDL_bool in favor of plain bool 2024-09-18 08:32:30 -07:00
SDL_error_c.h Use C99 bool internally in SDL 2024-08-22 13:30:02 -07:00
SDL_guid.c Use C++ style comments consistently in SDL source code 2024-08-22 13:30:02 -07:00
SDL_hashtable.c Fixed warning: ‘new_item.probe_len’ may be used uninitialized in this function 2024-10-10 08:06:18 -07:00
SDL_hashtable.h Removed const qualifiers from SDL_CreateHashTable() parameter types 2024-10-02 16:29:49 -07:00
SDL_hints.c Old env vars as fallback for SDL_VIDEO_DRIVER + SDL_AUDIO_DRIVER #11115 2024-10-12 08:47:02 -07:00
SDL_hints_c.h Use C99 bool internally in SDL 2024-08-22 13:30:02 -07:00
SDL_internal.h Simplified internal SDL_Surface structure 2024-10-01 08:10:04 -07:00
SDL_list.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
SDL_list.h Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
SDL_log.c Removed SDL_bool in favor of plain bool 2024-09-18 08:32:30 -07:00
SDL_log_c.h Use C++ style comments consistently in SDL source code 2024-08-22 13:30:02 -07:00
SDL_properties.c Fix typo: DiretMedia->DirectMedia 2024-10-05 00:08:01 -04:00
SDL_properties_c.h Fix typo: DiretMedia->DirectMedia 2024-10-05 00:08:01 -04:00
SDL_utils.c Simplified internal SDL_Surface structure 2024-10-01 08:10:04 -07:00
SDL_utils_c.h Simplified internal SDL_Surface structure 2024-10-01 08:10:04 -07:00