Commit Graph

4649 Commits

Author SHA1 Message Date
dd2e1b104b Fix DirectInput controllers on game startup
Now SDL and DirectInput don't complain when a game starts with a DirectInput controller already connected. Fixes "JoypadSDL::process_events: Error opening gamepad at index 1: IDirectInputDevice8::SetCooperativeLevel() DirectX error 0x80070006"
2025-08-21 13:21:48 +05:00
4012392cd6 Merge pull request #109786 from Repiteo/scons/metal-gnu++20
SCons: Use gnu++20 in metal driver
2025-08-20 12:07:16 -05:00
4f393e0c3c Merge pull request #109644 from RandomShaper/fix_dupe_tex2darr
Fix material removal clearing all instances of shared texture arrays
2025-08-20 12:07:14 -05:00
28d1406d61 Merge pull request #109765 from bruvzg/msdf_outline_clamp
Fix MSDF outline size clamping.
2025-08-20 12:07:11 -05:00
5cd785d3a8 SCons: Use gnu++20 in metal driver 2025-08-20 09:56:38 -05:00
3ff4e29657 Typo fix round 2 2025-08-20 04:24:06 -05:00
d6aca93c1a Fix bug where material with double-sided shadows ignores backface culling on compatibility renderer 2025-08-19 20:21:10 -07:00
bc7e68dfd1 Typos 2025-08-19 18:32:59 -05:00
c8b89b84cc Merge pull request #109750 from Nintorch/fix-get-connected-joypads
Handle SDL joypad events for connected controllers on game startup (on Windows and Linux)
2025-08-19 10:29:46 -05:00
b2deb22edd Merge pull request #109749 from Repiteo/scons/mesa-rollback
SCons: Temporarily revert Mesa includes to `CPPPATH`
2025-08-19 10:29:45 -05:00
ef44ec13d1 Merge pull request #109397 from bruvzg/execute_with_pipe_dsc_fix
[Unix] Fix `execute_with_pipe` closing wrong pipe handle.
2025-08-19 10:29:44 -05:00
d481a23c5a Compatibility: Improve ASTC extension detecting 2025-08-19 17:12:55 +02:00
6a3941b5d9 Fix MSDF outline size clamping. 2025-08-19 08:28:33 +03:00
197961ddc9 Process SDL joypad events on startup
Make sure that SDL events are processed when the SDL joypad input driver is initialized, this will allow it to register the connected controllers when a game starts.
2025-08-18 23:55:20 +05:00
65b8210b9b SCons: Revert Mesa includes to CPPPATH 2025-08-18 13:37:46 -05:00
919006eb35 Fix material removal clearing all instances of shared texture arrays 2025-08-18 12:21:15 +02:00
ca452113d4 Merge pull request #109437 from bruvzg/msdf_no_t
Use MSDF instead of MTSDF for font rendering.
2025-08-11 09:55:28 -05:00
1ee48c5fde Merge pull request #109478 from TCROC/fix-ios-auto-orientation
Fix screen_orientation not being assigned on ios
2025-08-11 09:55:22 -05:00
da91a55b3c Merge pull request #109283 from Nintorch/master
Fix C# environment variables access on Linux (SDL-related bug)
2025-08-11 09:55:21 -05:00
5876648666 Fix C# environment variables (SDL-related issue)
For some reason, these SDL defines mess with C#'s ability to use environment variables
2025-08-11 11:34:30 +05:00
d4b7222ca0 fixed screen_orientation not being assigned on ios 2025-08-09 20:46:17 -04:00
86e61a311f Use MSDF instead of MTSDF for font rendering.
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2025-08-09 10:41:16 +03:00
9d13037653 [Unix] Fix execute_with_pipe closing wrong pipe handle. 2025-08-07 19:04:01 +03:00
8b4e34cda5 [Unix] Replace symlink target, not the link itself when using backup save mode. 2025-08-07 11:14:18 +03:00
356b1ab2a6 Compatibility: Fix cubemap faces order when setting texture data 2025-08-04 13:27:28 +02:00
ca515cf650 Merge pull request #108373 from Nintorch/fix-sowrap-enabled
Fix the usage of udev and dbus with SDL joystick input driver
2025-08-03 10:51:17 -05:00
159133e679 Merge pull request #109198 from Lielay9/fix_primitive_tex
Break batch on Compatibility when primitive texture changes
2025-08-03 10:51:12 -05:00
87bb5ab681 Merge pull request #108919 from KeyboardDanni/d3d12_init_shader_model_check
D3D12: Fix shader model check, initialization error handling
2025-08-01 11:45:19 -05:00
Hei
ce0a74bfe2 Break batch on Compatibility when primitive texture changes. 2025-08-01 16:13:17 +03:00
f9313aa27b Merge pull request #108924 from bruvzg/ac17
Update access-kit to 0.17.0
2025-07-31 10:39:09 -05:00
5787f6fb6a Merge pull request #108044 from apples/107935-stencil-fixes
Fix opaque stencil rendering
2025-07-31 10:39:08 -05:00
0e19ad507e Fix the usage of libudev and dbus with SDL
Previously, libudev was ignored if SOWRAP_ENABLED was defined (it is defined by default) because otherwise it would crash CI builds due to a missing header, and dbus was always linked dynamically. This commit should fix this issue and make libudev usable again
2025-07-31 15:05:06 +05:00
fbe2710843 Add and enable default textures for other samplers 2025-07-31 00:08:43 +01:00
3f757c41fc Update access-kit to 0.17.0 2025-07-29 08:37:01 +03:00
bf6629a005 D3D12: Fix shader model check, initialization error handling 2025-07-28 20:35:45 -04:00
18d14ff18e Remove Adreno 3xx flip workaround 2025-07-28 14:03:25 +07:00
0c595dae45 Merge pull request #108936 from DarioSamo/vk-memory-layout-variant
Check for Vulkan Memory Model support and make it a variant.
2025-07-25 11:08:12 -05:00
b962b38e74 Check for Vulkan Memory Model support and make it a variant. 2025-07-25 09:24:58 -03:00
39fba218bd Fix: Make get_space_left on Windows use current_dir instead of process CWD 2025-07-25 19:47:25 +08:00
ae61044c85 Don't use GL_DEPTH_STENCIL_ATTACHMENT on depth buffer from WebXR 2025-07-24 14:11:36 -05:00
f884f24212 Merge pull request #108350 from DanielSnd/linux_sdl_env_variables_access
Add environment variable access defines to SDL linux build config
2025-07-18 11:05:18 -05:00
71e498509d Add environment variable access defines to SDL linux build config 2025-07-18 10:37:52 -03:00
5dc25db6da Fix lightmap dynamic objects with physical lights 2025-07-17 20:58:03 -03:00
9ba44cb613 Merge pull request #108364 from Rindbee/use-inotify-to-detect-devices-on-Linux
Use inotify to detect devices for better reliability on Linux
2025-07-17 10:34:45 -05:00
80b39cd1bd [Linux] Fix narrowing conversion error in 32-bit builds. 2025-07-16 09:34:38 +03:00
61956f2e06 SCons: Ensure CPPDEFINES is properly utilized 2025-07-14 13:07:53 -05:00
6bc7fcb7af Merge pull request #108567 from beicause/multimesh-null-checks
Add some multimesh null checks to avoid crash
2025-07-14 10:30:35 -05:00
35a2d7843e Merge pull request #104302 from brennennen/reflection_probe_count_error_check
Add error check for reflection probe invalid atlas index.
2025-07-14 10:30:31 -05:00
2be2cbb720 Merge pull request #107782 from allenwp/vulkan-nonlinear-color-correction-dithering
Always perform color correction and debanding on nonlinear sRGB values.
2025-07-14 10:30:28 -05:00
5352638f95 Add some multimesh null checks to avoid crash 2025-07-13 10:09:36 +08:00