From 72b177c35435c6298adfebcaf93d440367c6f2bb Mon Sep 17 00:00:00 2001 From: Benau Date: Mon, 1 Aug 2022 09:13:20 +0800 Subject: [PATCH] Fix incorrect vertex attribute --- lib/graphics_engine/src/ge_vulkan_draw_call.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/graphics_engine/src/ge_vulkan_draw_call.cpp b/lib/graphics_engine/src/ge_vulkan_draw_call.cpp index a794416b0..d789baaec 100644 --- a/lib/graphics_engine/src/ge_vulkan_draw_call.cpp +++ b/lib/graphics_engine/src/ge_vulkan_draw_call.cpp @@ -374,7 +374,7 @@ start: std::array attribute_descriptions = {}; attribute_descriptions[0].binding = 0; attribute_descriptions[0].location = 0; - attribute_descriptions[0].format = VK_FORMAT_R32G32B32A32_SFLOAT; + attribute_descriptions[0].format = VK_FORMAT_R32G32B32_SFLOAT; attribute_descriptions[0].offset = offsetof(irr::video::S3DVertexSkinnedMesh, m_position); attribute_descriptions[1].binding = 0; attribute_descriptions[1].location = 1;