From 051bd144e113c879ee240eb4d0905fa9f97748e9 Mon Sep 17 00:00:00 2001 From: Samuliak Date: Sat, 25 May 2024 14:38:39 +0200 Subject: [PATCH] dispose drawable texture view --- src/Ryujinx.Graphics.Metal/Pipeline.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Ryujinx.Graphics.Metal/Pipeline.cs b/src/Ryujinx.Graphics.Metal/Pipeline.cs index 6f3c96cc9..807069f5f 100644 --- a/src/Ryujinx.Graphics.Metal/Pipeline.cs +++ b/src/Ryujinx.Graphics.Metal/Pipeline.cs @@ -187,6 +187,9 @@ namespace Ryujinx.Graphics.Metal _commandBuffer = _commandQueue.CommandBuffer(); RestoreState(); + + // Cleanup + dest.Dispose(); } public void Barrier()