aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Engine/MethodCopyTexture.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2020-11-16 05:37:16 -0300
committerGitHub <noreply@github.com>2020-11-16 09:37:16 +0100
commit787e20937fc29884e94497d2ab993ca6cdae7dc6 (patch)
tree72ad9e0178edf97a23a8ba36f922cc14f48ddc7e /Ryujinx.Graphics.Gpu/Engine/MethodCopyTexture.cs
parentfcc9cbf8164a11d834b2326906885f2ac4cb4b77 (diff)
Propagate zeta format properly (#1716)
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Engine/MethodCopyTexture.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/Engine/MethodCopyTexture.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Gpu/Engine/MethodCopyTexture.cs b/Ryujinx.Graphics.Gpu/Engine/MethodCopyTexture.cs
index 324946fd..430b733e 100644
--- a/Ryujinx.Graphics.Gpu/Engine/MethodCopyTexture.cs
+++ b/Ryujinx.Graphics.Gpu/Engine/MethodCopyTexture.cs
@@ -57,7 +57,7 @@ namespace Ryujinx.Graphics.Gpu.Engine
if (srcTexture.Format.IsDepthOrStencil())
{
- dstCopyTextureFormat = srcCopyTextureFormat;
+ dstCopyTextureFormat = srcTexture.Info.FormatInfo;
}
else
{