mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 17:21:15 +01:00
Update deprecated SkiaSharp code
This commit is contained in:
1 parent
9829a08b68
commit
cec4d68dfa
1 file changed
+1
-1
@@ -78,7 +78,7 @@ namespace Ryujinx.Ava.UI.Views.User
|
|||||||
ViewModel.BackgroundColor.G,
|
ViewModel.BackgroundColor.G,
|
||||||
ViewModel.BackgroundColor.B,
|
ViewModel.BackgroundColor.B,
|
||||||
ViewModel.BackgroundColor.A));
|
ViewModel.BackgroundColor.A));
|
||||||
canvas.DrawBitmap(bitmap, 0, 0);
|
canvas.DrawBitmap(bitmap, 0, 0, new SKSamplingOptions(SKFilterMode.Linear));
|
||||||
}
|
}
|
||||||
|
|
||||||
using (SKImage image = SKImage.FromBitmap(newBitmap))
|
using (SKImage image = SKImage.FromBitmap(newBitmap))
|
||||||
|
|||||||
Reference in new issue
Block a user