Make use of the new EnumMap class

This commit is contained in:
SirLynix
2023-05-30 12:32:37 +02:00
parent d914f41404
commit dfe6b2ddcf
46 changed files with 354 additions and 379 deletions

View File

@@ -13,7 +13,7 @@ namespace Nz::Vk
{
inline UInt32 Device::GetDefaultFamilyIndex(QueueType queueType) const
{
return m_defaultQueues[UnderlyingCast(queueType)];
return m_defaultQueues[queueType];
}
inline const std::vector<Device::QueueFamilyInfo>& Device::GetEnabledQueues() const