Просмотр исходного кода

Propagate zeta format properly (#1716)

gdkchan 5 лет назад
Родитель
Сommit
787e20937f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Ryujinx.Graphics.Gpu/Engine/MethodCopyTexture.cs

+ 1 - 1
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
             {