From ad6805f86080cd0903b4cfe5ce9a3c4d695a4de7 Mon Sep 17 00:00:00 2001 From: Nikita Tsukanov Date: Mon, 18 Apr 2016 23:38:37 +0300 Subject: [PATCH] Fixed build --- src/Skia/Perspex.Skia/BitmapImpl.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Skia/Perspex.Skia/BitmapImpl.cs b/src/Skia/Perspex.Skia/BitmapImpl.cs index 75c1ab8c8b..3b108a8193 100644 --- a/src/Skia/Perspex.Skia/BitmapImpl.cs +++ b/src/Skia/Perspex.Skia/BitmapImpl.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.Drawing.Imaging; using System.IO; using System.Runtime.InteropServices; using System.Text; @@ -38,7 +37,7 @@ namespace Perspex.Skia #if DESKTOP IntPtr length; using (var sdb = new System.Drawing.Bitmap(PixelWidth, PixelHeight, Bitmap.RowBytes, - PixelFormat.Format32bppArgb, Bitmap.GetPixels(out length))) + System.Drawing.Imaging.PixelFormat.Format32bppArgb, Bitmap.GetPixels(out length))) sdb.Save(fileName); #else //SkiaSharp doesn't expose image encoders yet