From 9002cdb61dfaeef9593bf2db64eb231abe32b573 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 2 Jul 2022 10:24:51 +0200 Subject: [PATCH] - fixed bad use of local variable. --- src/common/rendering/vulkan/system/vk_device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {