From 71fe0416912e85246ca4b6069e2af5f32b59c7d2 Mon Sep 17 00:00:00 2001 From: redstrate Date: Sun, 18 Jul 2021 18:29:30 -0400 Subject: [PATCH] Fix linux build issue --- engine/gfx/vulkan/src/gfx_vulkan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/gfx/vulkan/src/gfx_vulkan.cpp b/engine/gfx/vulkan/src/gfx_vulkan.cpp index 63364fd..687e6f3 100755 --- a/engine/gfx/vulkan/src/gfx_vulkan.cpp +++ b/engine/gfx/vulkan/src/gfx_vulkan.cpp @@ -2138,7 +2138,7 @@ void GFXVulkan::cacheDescriptorState(GFXVulkanPipeline* pipeline, VkDescriptorSe } } - for (auto& [i, sampler] : utility::enumerate(boundSamplers)) { + for (auto [i, sampler] : utility::enumerate(boundSamplers)) { if (sampler != nullptr) { GFXVulkanSampler* vulkanSampler = (GFXVulkanSampler*) sampler;