diff --git a/Ryujinx.Graphics.Gpu/Image/TextureBindingsManager.cs b/Ryujinx.Graphics.Gpu/Image/TextureBindingsManager.cs index 0787ce3d..bbfb704d 100644 --- a/Ryujinx.Graphics.Gpu/Image/TextureBindingsManager.cs +++ b/Ryujinx.Graphics.Gpu/Image/TextureBindingsManager.cs @@ -320,10 +320,15 @@ namespace Ryujinx.Graphics.Gpu.Image // Check if the texture pool has been modified since bindings were last committed. // If it wasn't, then it's possible to avoid looking up textures again when the handle remains the same. - bool poolModified = _cachedTexturePool != texturePool || _cachedSamplerPool != samplerPool; + if (_cachedTexturePool != texturePool || _cachedSamplerPool != samplerPool) + { + Rebind(); - _cachedTexturePool = texturePool; - _cachedSamplerPool = samplerPool; + _cachedTexturePool = texturePool; + _cachedSamplerPool = samplerPool; + } + + bool poolModified = false; if (texturePool != null) {