dbriard
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
src/Skia/Avalonia.Skia/ImmutableBitmap.cs
|
|
|
@ -131,7 +131,7 @@ namespace Avalonia.Skia |
|
|
|
{ |
|
|
|
tmp.InstallPixels( |
|
|
|
new SKImageInfo(size.Width, size.Height, format.ToSkColorType(), alphaFormat.ToSkAlphaType()), |
|
|
|
data); |
|
|
|
data, stride); |
|
|
|
_bitmap = tmp.Copy(); |
|
|
|
} |
|
|
|
_bitmap.SetImmutable(); |
|
|
|
|