mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-05 09:58:52 +02:00
Update SkiaSharp to 3.119.2
* Update deprecated SkiaSharp code
This commit is contained in:
@@ -19,7 +19,7 @@ namespace Ryujinx.UI.Common.Helper
|
||||
|
||||
MemoryStream iconDataStream = new(iconData);
|
||||
using var image = SKBitmap.Decode(iconDataStream);
|
||||
image.Resize(new SKImageInfo(128, 128), SKFilterQuality.High);
|
||||
image.Resize(new SKImageInfo(128, 128), new SKSamplingOptions(SKFilterMode.Linear));
|
||||
SaveBitmapAsIcon(image, iconPath);
|
||||
|
||||
var shortcut = Shortcut.CreateShortcut(basePath, GetArgsString(applicationFilePath, applicationId), iconPath, 0);
|
||||
|
||||
Reference in New Issue
Block a user