From ab88d291b250b308d694f10aa8298a8c38e0ba2d Mon Sep 17 00:00:00 2001 From: "Mateo Dev .59" Date: Wed, 19 Feb 2020 10:01:19 -0300 Subject: [PATCH] rendering_vulkan: VertexDescriptionKey equal comparator was checking only the first element of his vector of VertexDescription --- drivers/vulkan/rendering_device_vulkan.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/vulkan/rendering_device_vulkan.h b/drivers/vulkan/rendering_device_vulkan.h index 05534e75efc..30c10e922e2 100644 --- a/drivers/vulkan/rendering_device_vulkan.h +++ b/drivers/vulkan/rendering_device_vulkan.h @@ -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 }