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,