aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Image/TextureManager.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2022-01-31 00:11:43 -0300
committerGitHub <noreply@github.com>2022-01-31 00:11:43 -0300
commitb944941733befdfbae802c29c496fe5125f045e2 (patch)
tree91845e890a1aa39eac7969c7af5bdd1f312de983 /Ryujinx.Graphics.Gpu/Image/TextureManager.cs
parent0dddcd012c48618a98db4be53da532f167cd1f8a (diff)
Fix bug that could cause depth buffer to be missing after clear (#3067)1.1.15
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Image/TextureManager.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/Image/TextureManager.cs1
1 files changed, 1 insertions, 0 deletions
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<ITexture>(_rtHostColors).Fill(null);
_rtHostColors[index] = _rtColors[index]?.HostTexture;
+ _rtHostDs = null;
_context.Renderer.Pipeline.SetRenderTargets(_rtHostColors, null);
}