godot/drivers/vulkan
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
..
godot_vulkan.h Move Vulkan includes to a central godot_vulkan.h header 2024-09-29 17:53:18 +02:00
rendering_context_driver_vulkan.cpp Disable extra memory tracking by default 2024-08-24 20:52:39 -03:00
rendering_context_driver_vulkan.h Move Vulkan includes to a central godot_vulkan.h header 2024-09-29 17:53:18 +02:00
rendering_device_driver_vulkan.cpp Account for the case surface_capabilities.currentExtent is unset 2024-11-05 11:52:26 -03:00
rendering_device_driver_vulkan.h Account for the case surface_capabilities.currentExtent is unset 2024-11-05 11:52:26 -03:00
SCsub SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
vulkan_hooks.cpp Finish splitting functionality of the Vulkan and D3D12 backends into RenderingDeviceDriver. 2024-02-12 10:02:18 -03:00
vulkan_hooks.h Move Vulkan includes to a central godot_vulkan.h header 2024-09-29 17:53:18 +02:00