From 2042a9a3b31d53b70dd13eab7b3956c55723f161 Mon Sep 17 00:00:00 2001 From: bailwillharr Date: Sat, 22 Oct 2022 13:19:47 +0100 Subject: [PATCH] fix bug --- src/gfx_device_vulkan.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gfx_device_vulkan.cpp b/src/gfx_device_vulkan.cpp index 447f101..a011b75 100644 --- a/src/gfx_device_vulkan.cpp +++ b/src/gfx_device_vulkan.cpp @@ -98,6 +98,7 @@ namespace engine { case gfx::VertexAttribFormat::VEC3: return VK_FORMAT_R32G32B32_SFLOAT; } + throw std::runtime_error("Unknown vertex attribute format"); } }