diff options
| author | riperiperi <rhy3756547@hotmail.com> | 2020-11-27 18:46:23 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-27 19:46:23 +0100 |
| commit | 0108004691a582f7df8e629c1e68a6bb0e0b90e7 (patch) | |
| tree | bb3090e6670c22cd2eee144c7060f9dd3b252f2b /Ryujinx.Graphics.Gpu/Image/TexturePool.cs | |
| parent | 88633f4bc2987c3118c4d0f482870b7871b47e81 (diff) | |
Prefer truly perfect texture matches over fomat aliased ones (#1754)
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Image/TexturePool.cs')
| -rw-r--r-- | Ryujinx.Graphics.Gpu/Image/TexturePool.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Gpu/Image/TexturePool.cs b/Ryujinx.Graphics.Gpu/Image/TexturePool.cs index e26dc501..53d810b9 100644 --- a/Ryujinx.Graphics.Gpu/Image/TexturePool.cs +++ b/Ryujinx.Graphics.Gpu/Image/TexturePool.cs @@ -121,7 +121,7 @@ namespace Ryujinx.Graphics.Gpu.Image // If the descriptors are the same, the texture is the same, // we don't need to remove as it was not modified. Just continue. - if (texture.IsPerfectMatch(GetInfo(descriptor), TextureSearchFlags.Strict)) + if (texture.IsExactMatch(GetInfo(descriptor), TextureSearchFlags.Strict) != TextureMatchQuality.NoMatch) { continue; } |
