mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-28 08:56:24 +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
|
@ -12,6 +12,8 @@ using Ryujinx.Common.Logging;
|
|||
using Ryujinx.Common.Utilities;
|
||||
using Ryujinx.Graphics.GAL;
|
||||
using Ryujinx.Graphics.GAL.Multithreading;
|
||||
using Ryujinx.Graphics.Metal;
|
||||
using Ryujinx.Graphics.OpenGL;
|
||||
using Ryujinx.Graphics.Vulkan;
|
||||
using Ryujinx.HLE;
|
||||
using Ryujinx.Input;
|
||||
|
@ -310,10 +312,10 @@ namespace Ryujinx.Headless
|
|||
|
||||
if (options.GraphicsBackend == GraphicsBackend.Metal && window is MetalWindow metalWindow && OperatingSystem.IsMacOS())
|
||||
{
|
||||
return new Graphics.Metal.MetalRenderer(metalWindow.GetLayer);
|
||||
return new MetalRenderer(metalWindow.GetLayer);
|
||||
}
|
||||
|
||||
return new Graphics.OpenGL.OpenGLRenderer();
|
||||
return new OpenGLRenderer();
|
||||
}
|
||||
|
||||
private static Switch InitializeEmulationContext(WindowBase window, IRenderer renderer, Options options)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue