From b944941733befdfbae802c29c496fe5125f045e2 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Mon, 31 Jan 2022 00:11:43 -0300 Subject: Fix bug that could cause depth buffer to be missing after clear (#3067) --- Ryujinx.Graphics.Gpu/Image/TextureManager.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'Ryujinx.Graphics.Gpu/Image') diff --git a/Ryujinx.Graphics.Gpu/Image/TextureManager.cs b/Ryujinx.Graphics.Gpu/Image/TextureManager.cs index 90e26442..a1c29291 100644 --- a/Ryujinx.Graphics.Gpu/Image/TextureManager.cs +++ b/Ryujinx.Graphics.Gpu/Image/TextureManager.cs @@ -434,6 +434,7 @@ namespace Ryujinx.Graphics.Gpu.Image { new Span(_rtHostColors).Fill(null); _rtHostColors[index] = _rtColors[index]?.HostTexture; + _rtHostDs = null; _context.Renderer.Pipeline.SetRenderTargets(_rtHostColors, null); } -- cgit v1.2.3