From 0efe90338c7f8bc83620b046e0dbb7d2ab0eda67 Mon Sep 17 00:00:00 2001 From: Matthew Leibowitz Date: Sun, 26 Feb 2017 04:16:23 +0200 Subject: [PATCH] Fix cast exceptions --- source/SkiaSharp.Views/SkiaSharp.Views.Mac/SKGLView.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/SkiaSharp.Views/SkiaSharp.Views.Mac/SKGLView.cs b/source/SkiaSharp.Views/SkiaSharp.Views.Mac/SKGLView.cs index 8d40b579..45280469 100644 --- a/source/SkiaSharp.Views/SkiaSharp.Views.Mac/SKGLView.cs +++ b/source/SkiaSharp.Views/SkiaSharp.Views.Mac/SKGLView.cs @@ -43,7 +43,7 @@ namespace SkiaSharp.Views.Mac { WantsBestResolutionOpenGLSurface = true; - var attrs = new object[] + var attrs = new NSOpenGLPixelFormatAttribute[] { //NSOpenGLPixelFormatAttribute.OpenGLProfile, (NSOpenGLPixelFormatAttribute)NSOpenGLProfile.VersionLegacy, NSOpenGLPixelFormatAttribute.Accelerated,