From af56e9c729c1a5277e5721911ca469644a589fd3 Mon Sep 17 00:00:00 2001 From: Carsten Rudolph <18394207+crud89@users.noreply.github.com> Date: Tue, 27 Aug 2024 10:03:06 +0200 Subject: [PATCH] Don't throw on unsupported buffer types. --- src/Backends/Vulkan/src/factory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Backends/Vulkan/src/factory.cpp b/src/Backends/Vulkan/src/factory.cpp index 0fa01618..03d0ec48 100644 --- a/src/Backends/Vulkan/src/factory.cpp +++ b/src/Backends/Vulkan/src/factory.cpp @@ -113,7 +113,7 @@ UniquePtr 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)