mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-13 07:13:35 +00:00
gpu: MSVC buildfix for Vulkan device property struct initialization
This commit is contained in:
@@ -11882,8 +11882,8 @@ static bool VULKAN_INTERNAL_GetDeviceRank(
|
||||
VkPhysicalDeviceType deviceType;
|
||||
if (physicalDeviceExtensions->KHR_driver_properties || physicalDeviceExtensions->MSFT_layered_driver) {
|
||||
VkPhysicalDeviceProperties2KHR physicalDeviceProperties;
|
||||
VkPhysicalDeviceDriverPropertiesKHR physicalDeviceDriverProperties;
|
||||
VkPhysicalDeviceLayeredDriverPropertiesMSFT physicalDeviceLayeredDriverProperties;
|
||||
VkPhysicalDeviceDriverPropertiesKHR physicalDeviceDriverProperties = { 0 };
|
||||
VkPhysicalDeviceLayeredDriverPropertiesMSFT physicalDeviceLayeredDriverProperties = { 0 };
|
||||
void** ppNext = &physicalDeviceProperties.pNext;
|
||||
|
||||
physicalDeviceProperties.sType =
|
||||
|
||||
Reference in New Issue
Block a user