mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-08-04 10:22:25 -07:00
allow null depth stencil render targets
This commit is contained in:
@@ -298,6 +298,9 @@ namespace Ryujinx.Graphics.Metal
|
|||||||
if (depthStencil is Texture depthTexture)
|
if (depthStencil is Texture depthTexture)
|
||||||
{
|
{
|
||||||
_currentState.DepthStencil = depthTexture;
|
_currentState.DepthStencil = depthTexture;
|
||||||
|
} else if (depthStencil == null)
|
||||||
|
{
|
||||||
|
_currentState.DepthStencil = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Requires recreating pipeline
|
// Requires recreating pipeline
|
||||||
|
Reference in New Issue
Block a user