allow null depth stencil render targets
This commit is contained in:
parent
eb7ec713ec
commit
0abbbdc277
@ -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…
x
Reference in New Issue
Block a user