Fix warnings

This commit is contained in:
riperiperi 2024-07-03 13:46:54 +01:00 committed by Isaac Marovitz
parent 01094222c7
commit e1568613af
No known key found for this signature in database
GPG Key ID: 97250B2B09A132E1
2 changed files with 3 additions and 1 deletions

View File

@ -8,6 +8,7 @@ using System.Runtime.Versioning;
namespace Ryujinx.Graphics.Metal
{
[SupportedOSPlatform("macos")]
readonly struct ScopedTemporaryBuffer : IDisposable
{
private readonly BufferManager _bufferManager;

View File

@ -3,10 +3,11 @@ using Ryujinx.Common.Logging;
using Ryujinx.Graphics.GAL;
using SharpMetal.Metal;
using System;
using System.Numerics;
using System.Runtime.Versioning;
namespace Ryujinx.Graphics.Metal
{
[SupportedOSPlatform("macos")]
static class TextureCopy
{
public static void Copy(