summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-02-19 15:54:33 +0100
committerGitHub <noreply@github.com>2020-02-19 15:54:33 +0100
commit05e610b78cee0f7b779254e45bffefa4fa0fd910 (patch)
tree53bb7f1a1efe3aa10be1752bc11b7b27cdf48bee /drivers
parentb5729a82e9925062f88b06023db679623b3a3808 (diff)
parentab88d291b250b308d694f10aa8298a8c38e0ba2d (diff)
Merge pull request #36357 from MateoMiccino/rendering_vulkan_vertexdescriptionkey_fix
rendering_vulkan: VertexDescriptionKey equal comparator was checking …
Diffstat (limited to 'drivers')
-rw-r--r--drivers/vulkan/rendering_device_vulkan.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/vulkan/rendering_device_vulkan.h b/drivers/vulkan/rendering_device_vulkan.h
index 05534e75ef..30c10e922e 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
}