Quellcode durchsuchen

vulkan: fix a consistency issue with texture samplers

Sasha Szpakowski vor 1 Jahr
Ursprung
Commit
20ffe94349
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/modules/graphics/vulkan/Texture.cpp

+ 1 - 1
src/modules/graphics/vulkan/Texture.cpp

@@ -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