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
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
vulkan_hooks.h Move Vulkan includes to a central godot_vulkan.h header 2024-09-29 17:53:18 +02:00