Remove code that is no longer necessary

This commit is contained in:
Gabriel A 2024-07-20 13:02:29 -03:00
commit f39c707bf9

View file

@ -384,8 +384,7 @@ namespace Ryujinx.Ava
canvas.SetMatrix(matrix); canvas.SetMatrix(matrix);
canvas.DrawBitmap(bitmap, SKPoint.Empty); canvas.DrawBitmap(bitmap, SKPoint.Empty);
SaveBitmapAsPng(bitmapToSave ?? bitmap, path); SaveBitmapAsPng(bitmapToSave, path);
bitmapToSave?.Dispose();
Logger.Notice.Print(LogClass.Application, $"Screenshot saved to {path}", "Screenshot"); Logger.Notice.Print(LogClass.Application, $"Screenshot saved to {path}", "Screenshot");
} }