mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-07 09:36:26 +02:00
Revert "Only selectively compile Metal & fix some compilation issues"
This reverts commit beda3206e0
.
This commit is contained in:
parent
beda3206e0
commit
e6bad52945
5 changed files with 8 additions and 7 deletions
|
@ -897,7 +897,7 @@ namespace Ryujinx.Ava
|
|||
{
|
||||
#pragma warning disable CA1416 // This call site is reachable on all platforms
|
||||
// SelectGraphicsBackend does a check for Mac, on top of checking if it's an ARM Mac. This isn't a problem.
|
||||
GraphicsBackend.Metal => new MetalRenderer(() => new SharpMetal.QuartzCore.CAMetalLayer(((EmbeddedWindowMetal)RendererHost.EmbeddedWindow).MetalLayer)),
|
||||
GraphicsBackend.Metal => new MetalRenderer((RendererHost.EmbeddedWindow as EmbeddedWindowMetal)!.CreateSurface),
|
||||
#pragma warning restore CA1416
|
||||
GraphicsBackend.Vulkan => VulkanRenderer.Create(
|
||||
ConfigurationState.Instance.Graphics.PreferredGpu,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue