allow null depth stencil render targets
parent
8d7be4fe25
commit
acce02bdf5
|
|
@ -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 New Issue