Skip to content

Commit

Permalink
vulkan: fix a consistency issue with texture samplers
Browse files Browse the repository at this point in the history
  • Loading branch information
slime73 committed Nov 16, 2023
1 parent 17362b6 commit 20ffe94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/graphics/vulkan/Texture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 20ffe94

Please sign in to comment.