diff options
Diffstat (limited to 'src/vulkan_utils.hpp')
| -rw-r--r-- | src/vulkan_utils.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vulkan_utils.hpp b/src/vulkan_utils.hpp index 99fd912..1647e91 100644 --- a/src/vulkan_utils.hpp +++ b/src/vulkan_utils.hpp @@ -44,7 +44,7 @@ struct Vertex { VkVertexInputAttributeDescription { .location = 0, .binding = 0, - .format = VK_FORMAT_R32G32_SFLOAT, + .format = VK_FORMAT_R32G32B32_SFLOAT, .offset = offsetof(Vertex, pos), }, VkVertexInputAttributeDescription { @@ -62,7 +62,7 @@ struct Vertex { }; } - engine::math::Vector2 pos; + engine::math::Vector3 pos; engine::math::Vector3 col; engine::math::Vector2 uv; }; |
