Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
corporateshark committed Sep 4, 2024
1 parent 5783f79 commit 6dc4b2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lvk/LVK.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ void lvk::logShaderSource(const char* text) {
uint32_t lvk::VertexInput::getVertexSize() const {
uint32_t vertexSize = 0;
for (uint32_t i = 0; i < LVK_VERTEX_ATTRIBUTES_MAX && attributes[i].format != VertexFormat::Invalid; i++) {
LVK_ASSERT_MSG(attributes[i].offset == vertexSize, "Unsupported vertex attributes foramt");
LVK_ASSERT_MSG(attributes[i].offset == vertexSize, "Unsupported vertex attributes format");
vertexSize += lvk::getVertexFormatSize(attributes[i].format);
}
return vertexSize;
Expand Down

0 comments on commit 6dc4b2f

Please sign in to comment.