mirror of
https://github.com/love2d/love.git
synced 2026-08-15 07:41:11 +02:00
Improve Windows vulkan draw performance by reducing the size of a struct.
This commit is contained in:
@@ -2273,7 +2273,7 @@ void Graphics::createVulkanVertexFormat(
|
||||
attributeDescription.location = i;
|
||||
attributeDescription.binding = bufferBinding;
|
||||
attributeDescription.offset = attrib.offsetFromVertex;
|
||||
attributeDescription.format = Vulkan::getVulkanVertexFormat(attrib.format);
|
||||
attributeDescription.format = Vulkan::getVulkanVertexFormat(attrib.getFormat());
|
||||
|
||||
attributeDescriptions.push_back(attributeDescription);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user