mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
vulkan: fix a consistency issue with texture samplers
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user