Merge pull request #36357 from MateoMiccino/rendering_vulkan_vertexdescriptionkey_fix

rendering_vulkan: VertexDescriptionKey equal comparator was checking …
This commit is contained in:
Rémi Verschelde 2020-02-19 15:54:33 +01:00 committed by GitHub
commit 05e610b78c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

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
}