mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-28 21:10:46 -07:00
Fix some invalid blits involving depth textures (#4723)
This commit is contained in:
@ -1118,7 +1118,7 @@ namespace Ryujinx.Graphics.Gpu.Image
|
||||
{
|
||||
bool forSampler = (flags & TextureSearchFlags.ForSampler) != 0;
|
||||
|
||||
TextureMatchQuality matchQuality = TextureCompatibility.FormatMatches(Info, info, forSampler, (flags & TextureSearchFlags.ForCopy) != 0);
|
||||
TextureMatchQuality matchQuality = TextureCompatibility.FormatMatches(Info, info, forSampler, (flags & TextureSearchFlags.DepthAlias) != 0);
|
||||
|
||||
if (matchQuality == TextureMatchQuality.NoMatch)
|
||||
{
|
||||
|
Reference in New Issue
Block a user