Skip to content

Commit

Permalink
Fix device (#29)
Browse files Browse the repository at this point in the history
Good catch! Thank you.
  • Loading branch information
playmer authored and asuessenbach committed Jun 7, 2017
1 parent d5eefab commit b6646c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vkhlf/src/Device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ namespace vkhlf
}

vk::DeviceCreateInfo createInfo({}, vkhlf::checked_cast<uint32_t>(queueCIs.size()), queueCIs.data(), vkhlf::checked_cast<uint32_t>(layers.size()), layers.data(),
vkhlf::checked_cast<uint32_t>(extensions.size()), extensions.data());
vkhlf::checked_cast<uint32_t>(extensions.size()), extensions.data(), &enabledFeatures);
m_device = static_cast<vk::PhysicalDevice>(*get<PhysicalDevice>()).createDevice(createInfo, *get<Allocator>());

for (auto const& createInfo : queueCreateInfos)
Expand Down

0 comments on commit b6646c4

Please sign in to comment.