1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-21 01:32:01 +00:00

Fix warnings

This commit is contained in:
riperiperi 2024-07-03 13:46:54 +01:00 committed by Isaac Marovitz
parent 468ab8242f
commit fd0329f2eb
2 changed files with 3 additions and 1 deletions

View file

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

View file

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