mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2025-01-31 20:25:35 +01:00
Set DepthAttachmentPixelFormat
This commit is contained in:
parent
4e6abb0191
commit
fcc7cb55df
@ -69,6 +69,8 @@ namespace Ryujinx.Graphics.Metal
|
||||
}
|
||||
}
|
||||
|
||||
renderPipelineDescriptor.DepthAttachmentPixelFormat = descriptor.DepthAttachment.Texture.PixelFormat;
|
||||
|
||||
var error = new NSError(IntPtr.Zero);
|
||||
var pipelineState = _device.NewRenderPipelineState(renderPipelineDescriptor, ref error);
|
||||
if (error != IntPtr.Zero)
|
||||
|
Loading…
x
Reference in New Issue
Block a user