From 20ffe94349e747a0808bf4fe2f25ae4d4d9d1712 Mon Sep 17 00:00:00 2001 From: Sasha Szpakowski Date: Wed, 15 Nov 2023 23:15:27 -0400 Subject: [PATCH] vulkan: fix a consistency issue with texture samplers --- src/modules/graphics/vulkan/Texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/graphics/vulkan/Texture.cpp b/src/modules/graphics/vulkan/Texture.cpp index 4eea47722..b5edc0851 100644 --- a/src/modules/graphics/vulkan/Texture.cpp +++ b/src/modules/graphics/vulkan/Texture.cpp @@ -267,7 +267,7 @@ void Texture::setSamplerState(const SamplerState &s) { love::graphics::Texture::setSamplerState(s); - textureSampler = vgfx->getCachedSampler(s); + textureSampler = vgfx->getCachedSampler(samplerState); } VkImageLayout Texture::getImageLayout() const