- fixed bad use of local variable.

This commit is contained in:
Christoph Oelckers 2022-07-02 10:24:51 +02:00
parent 35f8aab6bf
commit 9002cdb61d

View file

@ -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
{