infra: chore: fix/silence compile warnings

This commit is contained in:
Evan Husted 2024-12-24 01:23:01 -06:00
parent 3cb996bf5c
commit 2f540dc88c
5 changed files with 8 additions and 2 deletions

View file

@ -917,7 +917,7 @@ namespace Ryujinx.Ava
if (ShouldInitMetal)
{
#pragma warning disable CA1416 This call site is reachable on all platforms
#pragma warning disable CA1416 // This call site is reachable on all platforms
// The condition does a check for Mac, on top of checking if it's an ARM Mac. This isn't a problem.
renderer = new MetalRenderer((RendererHost.EmbeddedWindow as EmbeddedWindowMetal)!.CreateSurface);
#pragma warning restore CA1416