mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-29 19:36:25 +02:00
Fix bug that could cause depth buffer to be missing after clear (#3067)
This commit is contained in:
parent
0dddcd012c
commit
b944941733
2 changed files with 9 additions and 8 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue