mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-26 18:43:04 +00:00
allow null depth stencil render targets
This commit is contained in:
parent
8d7be4fe25
commit
acce02bdf5
1 changed files with 3 additions and 0 deletions
|
@ -298,6 +298,9 @@ namespace Ryujinx.Graphics.Metal
|
|||
if (depthStencil is Texture depthTexture)
|
||||
{
|
||||
_currentState.DepthStencil = depthTexture;
|
||||
} else if (depthStencil == null)
|
||||
{
|
||||
_currentState.DepthStencil = null;
|
||||
}
|
||||
|
||||
// Requires recreating pipeline
|
||||
|
|
Loading…
Reference in a new issue