From 959d1337797b0d1df4549e536c233a724d1d6460 Mon Sep 17 00:00:00 2001 From: Bam4d Date: Sun, 24 Dec 2023 22:39:11 +0000 Subject: [PATCH] fixing thing again --- src/Griddly/Core/Observers/Vulkan/VulkanDevice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Griddly/Core/Observers/Vulkan/VulkanDevice.cpp b/src/Griddly/Core/Observers/Vulkan/VulkanDevice.cpp index c114bd89..c11a7f63 100644 --- a/src/Griddly/Core/Observers/Vulkan/VulkanDevice.cpp +++ b/src/Griddly/Core/Observers/Vulkan/VulkanDevice.cpp @@ -130,8 +130,8 @@ void VulkanDevice::initDevice(bool useGPU) { auto deviceQueueCreateInfo = vk::initializers::deviceQueueCreateInfo(graphicsQueueFamilyIndex, 1.0f); auto deviceCreateInfo = vk::initializers::deviceCreateInfo(deviceQueueCreateInfo); - deviceCreateInfo.enabledExtensionCount = ppEnabledExtensionNames.size(); - deviceCreateInfo.ppEnabledExtensionNames = ppEnabledExtensionNames.data(); + deviceCreateInfo.enabledExtensionCount = 1; + deviceCreateInfo.ppEnabledExtensionNames = ppEnabledExtensionNames; physicalDevice_ = physicalDeviceInfo->physicalDevice; spdlog::debug("Creating physical device.");