mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
gpu: MSVC buildfix for Vulkan device property struct initialization
This commit is contained in:
parent
c4074bc9c9
commit
5a4f1cbceb
1 changed files with 2 additions and 2 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue