mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 17:21:15 +01:00
Update SkiaSharp to 3.119.2
* Update deprecated SkiaSharp code
This commit is contained in:
1 parent
5c8be1b927
commit
477be704bb
4 files changed
+66
-59
No files matched your search
@@ -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