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

@ -21,9 +21,12 @@ namespace Ryujinx.Graphics.Metal
private Pipeline _pipeline;
private Window _window;
public uint ProgramCount { get; set; } = 0;
public uint ProgramCount { get; set; }
#pragma warning disable CS0067 // The event is never used
public event EventHandler<ScreenCaptureImageInfo> ScreenCaptured;
#pragma warning restore CS0067
public bool PreferThreading => true;
public IPipeline Pipeline => _pipeline;
public IWindow Window => _window;