aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Image/TextureManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Image/TextureManager.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/Image/TextureManager.cs16
1 files changed, 0 insertions, 16 deletions
diff --git a/Ryujinx.Graphics.Gpu/Image/TextureManager.cs b/Ryujinx.Graphics.Gpu/Image/TextureManager.cs
index 083de64c..266f6285 100644
--- a/Ryujinx.Graphics.Gpu/Image/TextureManager.cs
+++ b/Ryujinx.Graphics.Gpu/Image/TextureManager.cs
@@ -441,22 +441,6 @@ namespace Ryujinx.Graphics.Gpu.Image
/// Update host framebuffer attachments based on currently bound render target buffers.
/// </summary>
/// <remarks>
- /// All attachments other than <paramref name="index"/> will be unbound.
- /// </remarks>
- /// <param name="index">Index of the render target color to be updated</param>
- public void UpdateRenderTarget(int index)
- {
- new Span<ITexture>(_rtHostColors).Fill(null);
- _rtHostColors[index] = _rtColors[index]?.HostTexture;
- _rtHostDs = null;
-
- _context.Renderer.Pipeline.SetRenderTargets(_rtHostColors, null);
- }
-
- /// <summary>
- /// Update host framebuffer attachments based on currently bound render target buffers.
- /// </summary>
- /// <remarks>
/// All color attachments will be unbound.
/// </remarks>
public void UpdateRenderTargetDepthStencil()