Skip to content

Commit

Permalink
fixing thing again
Browse files Browse the repository at this point in the history
  • Loading branch information
Bam4d committed Dec 24, 2023
1 parent 0152afc commit 959d133
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Griddly/Core/Observers/Vulkan/VulkanDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
Expand Down

0 comments on commit 959d133

Please sign in to comment.