godot/drivers
Trevor Davenport a5070af460 Account for the case surface_capabilities.currentExtent is unset
Wayland in particular sets surface_capabilities.currentExtent.width to
the special value 0xFFFFFFFF, which is valid per spec.
Fixes #98779

It may also fix misc issues when resizing on all platforms.

Superseedes PR #98780 , thanks to user tdaven for the original patch.
PR #98780 would break Android support as it did not account that width
and height might need to be swapped.

Replaced manual swap by Godot's SWAP(), which indicates intention much
easier.
2024-11-05 11:52:26 -03:00
..
alsa SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
alsamidi SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
backtrace SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
coreaudio Merge pull request #88628 from bruvzg/i_have_no_idea_what_im_doing 2024-10-29 19:25:47 -05:00
coremidi SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
d3d12 Add dependency detection improvements to the render graph. 2024-11-01 09:46:52 -03:00
egl Merge pull request #97771 from dsnopek/openxr-linux-egl 2024-10-25 13:04:08 -05:00
gl_context SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
gles3 Merge pull request #86138 from EnlightenedOne/master 2024-11-04 21:52:07 -06:00
metal Set clang-format RemoveSemicolon rule to true 2024-10-25 13:49:43 -04:00
png Deleted stale check. Now SCons supports globbing with # inside path 2024-11-02 22:20:17 +02:00
pulseaudio Set clang-format RemoveSemicolon rule to true 2024-10-25 13:49:43 -04:00
unix [Linux/BSD] Fix cross-device rename. 2024-10-02 08:57:37 +03:00
vulkan Account for the case surface_capabilities.currentExtent is unset 2024-11-05 11:52:26 -03:00
wasapi Set clang-format RemoveSemicolon rule to true 2024-10-25 13:49:43 -04:00
windows Style: Apply clang-tidy fixes (superficial) 2024-11-04 12:11:14 -06:00
winmidi SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
xaudio2 Merge pull request #97483 from akien-mga/clang-format-19.1.0 2024-09-26 12:46:04 +02:00
register_driver_types.cpp
register_driver_types.h
SCsub [macOS/iOS] Use hardware sampling rates for audio I/O. 2024-10-25 19:26:24 +03:00