diff --git a/src/common/rendering/vulkan/system/vk_device.cpp b/src/common/rendering/vulkan/system/vk_device.cpp index ac9d4aada..cdc0232df 100644 --- a/src/common/rendering/vulkan/system/vk_device.cpp +++ b/src/common/rendering/vulkan/system/vk_device.cpp @@ -268,7 +268,7 @@ void VulkanDevice::CreateDevice() if (SupportsDeviceExtension(VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME)) { *next = &deviceFeatures2; - void** next = &deviceFeatures2.pNext; + next = &deviceFeatures2.pNext; } else // vulkan 1.0 specified features in a different way {