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