Hopefully fix FakeTemporalAA tool crashing on close rom
This commit is contained in:
parent
d2a29d06ab
commit
d9d5c45848
|
@ -29,7 +29,7 @@ public sealed class FakeTemporalAAToolForm: ToolFormBase, IExternalToolForm
|
||||||
=> _ = _maybeVideoProvider; // used via ToolFormBase.MainForm
|
=> _ = _maybeVideoProvider; // used via ToolFormBase.MainForm
|
||||||
|
|
||||||
private void ClearDrawingSurface()
|
private void ClearDrawingSurface()
|
||||||
=> APIs.Gui.WithSurface(DisplaySurfaceID.EmuCore, g => g.ClearGraphics(DisplaySurfaceID.EmuCore));
|
=> _maybeAPIContainer?.Gui?.WithSurface(DisplaySurfaceID.EmuCore, g => g.ClearGraphics(DisplaySurfaceID.EmuCore));
|
||||||
|
|
||||||
protected override void Dispose(bool disposing)
|
protected override void Dispose(bool disposing)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue