From 3072138b3424b05b1b8085e39b856847eff5add1 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Thu, 26 Mar 2020 18:33:04 -0300 Subject: [PATCH] Dispose of the intermmediate texture aswell --- Ryujinx.Graphics.OpenGL/TextureView.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Ryujinx.Graphics.OpenGL/TextureView.cs b/Ryujinx.Graphics.OpenGL/TextureView.cs index 287054da4f..9569a1c1ba 100644 --- a/Ryujinx.Graphics.OpenGL/TextureView.cs +++ b/Ryujinx.Graphics.OpenGL/TextureView.cs @@ -433,6 +433,13 @@ namespace Ryujinx.Graphics.OpenGL public void Dispose() { + if (_intelWarView != null) + { + _intelWarView.Dispose(); + + _intelWarView = null; + } + if (Handle != 0) { GL.DeleteTexture(Handle);