mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-16 18:56:29 +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
|
@ -1,5 +1,6 @@
|
|||
using Avalonia;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Input;
|
||||
using Avalonia.Platform;
|
||||
using Ryujinx.Ava.Utilities.Configuration;
|
||||
using Ryujinx.Common.Configuration;
|
||||
|
@ -27,7 +28,7 @@ namespace Ryujinx.Ava.UI.Renderer
|
|||
protected nint WindowHandle { get; set; }
|
||||
protected nint X11Display { get; set; }
|
||||
protected nint NsView { get; set; }
|
||||
public nint MetalLayer { get; protected set; }
|
||||
protected nint MetalLayer { get; set; }
|
||||
|
||||
public delegate void UpdateBoundsCallbackDelegate(Rect rect);
|
||||
private UpdateBoundsCallbackDelegate _updateBoundsCallback;
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
using SharpMetal.QuartzCore;
|
||||
using System;
|
||||
using System.Runtime.Versioning;
|
||||
|
||||
namespace Ryujinx.Ava.UI.Renderer
|
||||
{
|
||||
[SupportedOSPlatform("macos")]
|
||||
public class EmbeddedWindowMetal : EmbeddedWindow
|
||||
{
|
||||
public CAMetalLayer CreateSurface()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue