Fix incorrect vertex attribute

This commit is contained in:
Benau 2022-08-01 09:13:20 +08:00
parent 331ae9a30f
commit 72b177c354

View File

@ -374,7 +374,7 @@ start:
std::array<VkVertexInputAttributeDescription, 8> 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;