[drape] Fix initialization of struct

Signed-off-by: Gonzalo Pesquero <gpesquero@yahoo.es>
This commit is contained in:
Gonzalo Pesquero 2025-03-04 22:03:34 +01:00 committed by Viktor Havaka
parent 1753a8bc87
commit 6eab4f9537

View file

@ -218,7 +218,7 @@ VulkanContextFactory::VulkanContextFactory(uint32_t appVersionCode, int sdkVersi
if (!availableFeatures.wideLines)
LOG(LWARNING, ("Widelines Vulkan feature is not supported."));
VkPhysicalDeviceFeatures enabledFeatures;
VkPhysicalDeviceFeatures enabledFeatures = {};
enabledFeatures.wideLines = availableFeatures.wideLines;
VkDeviceCreateInfo deviceCreateInfo = {};