vulkan: fix a consistency issue with texture samplers

This commit is contained in:
Sasha Szpakowski
2023-11-15 23:15:27 -04:00
parent 17362b6844
commit 20ffe94349
+1 -1
View File
@@ -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