mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +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);
|
love::graphics::Texture::setSamplerState(s);
|
||||||
|
|
||||||
textureSampler = vgfx->getCachedSampler(s);
|
textureSampler = vgfx->getCachedSampler(samplerState);
|
||||||
}
|
}
|
||||||
|
|
||||||
VkImageLayout Texture::getImageLayout() const
|
VkImageLayout Texture::getImageLayout() const
|
||||||
|
|||||||
Reference in New Issue
Block a user