@@ -61,11 +61,11 @@ func run() error { ml.SetDevice(device) ml.SetPixelFormat(mtl.PixelFormatBGRA8UNorm) ml.SetDrawableSize(window.GetFramebufferSize()) ml.SetMaximumDrawableCount(3) ml.SetDisplaySyncEnabled(true) cv := ns.NewWindow(unsafe.Pointer(window.GetCocoaWindow())).ContentView() cv := ns.NewWindow(window.GetCocoaWindow()).ContentView() cv.SetLayer(ml) cv.SetWantsLayer(true) // Set callbacks. window.SetFramebufferSizeCallback(func(_ *glfw.Window, width, height int) {