mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-07 07:26:26 +02:00
infra: chore: fix/silence compile warnings
This commit is contained in:
parent
3cb996bf5c
commit
2f540dc88c
5 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue