Skip to content

Commit

Permalink
Don't throw on unsupported buffer types.
Browse files Browse the repository at this point in the history
  • Loading branch information
crud89 committed Aug 27, 2024
1 parent af8c49b commit af56e9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Backends/Vulkan/src/factory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ UniquePtr<IVulkanBuffer> VulkanGraphicsFactory::createBuffer(const String& name,
alignment = m_impl->m_device.adapter().limits().minStorageBufferOffsetAlignment;
break;
default:
throw InvalidArgumentException("type", "Specified buffer type '{0}' is not supported.", type);
break;
}

if (alignment > 0)
Expand Down

0 comments on commit af56e9c

Please sign in to comment.