rendering_vulkan: VertexDescriptionKey equal comparator was checking only the first element of his vector of VertexDescription

This commit is contained in:
Mateo Dev .59 2020-02-19 10:01:19 -03:00
parent 35c1ce2ba6
commit ab88d291b2

View File

@ -354,7 +354,9 @@ class RenderingDeviceVulkan : public RenderingDevice {
if (a.stride != b.stride) {
return false;
}
return a.frequency != b.frequency;
if (a.frequency != b.frequency) {
return false;
}
}
return true; //they are equal
}