diff --git a/src/Ryujinx.Graphics.Metal/MetalRenderer.cs b/src/Ryujinx.Graphics.Metal/MetalRenderer.cs index 4cd230dbc..e7d26f72a 100644 --- a/src/Ryujinx.Graphics.Metal/MetalRenderer.cs +++ b/src/Ryujinx.Graphics.Metal/MetalRenderer.cs @@ -51,7 +51,7 @@ namespace Ryujinx.Graphics.Metal public void BackgroundContextAction(Action action, bool alwaysBackground = false) { - throw new NotImplementedException(); + Logger.Warning?.Print(LogClass.Gpu, "Not Implemented!"); } public BufferHandle CreateBuffer(int size, BufferAccess access, BufferHandle storageHint) diff --git a/src/Ryujinx.Graphics.Metal/Texture.cs b/src/Ryujinx.Graphics.Metal/Texture.cs index 63e51305e..a50d416aa 100644 --- a/src/Ryujinx.Graphics.Metal/Texture.cs +++ b/src/Ryujinx.Graphics.Metal/Texture.cs @@ -68,11 +68,7 @@ namespace Ryujinx.Graphics.Metal slices.location = (ulong)firstLayer; slices.length = 1; - if (info.Target == Target.Texture3D) - { - slices.length = (ulong)Info.Depth; - } - else if (info.Target != Target.Cubemap) + if (info.Target != Target.Texture3D && info.Target != Target.Cubemap) { slices.length = (ulong)Info.Depth; }