From 74902d47af10e7236006015372d7e2e3f872c8bc Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 17 Nov 2019 22:58:05 +0900 Subject: [PATCH] graphicsdriver/metal/mtl: Bug fix: need to link CoreGraphics as of Catalina Fixes #989 --- internal/graphicsdriver/metal/mtl/mtl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/graphicsdriver/metal/mtl/mtl.go b/internal/graphicsdriver/metal/mtl/mtl.go index a8e53a7d8..538a37b91 100644 --- a/internal/graphicsdriver/metal/mtl/mtl.go +++ b/internal/graphicsdriver/metal/mtl/mtl.go @@ -31,7 +31,7 @@ import ( ) // #cgo !ios CFLAGS: -mmacosx-version-min=10.11 -// #cgo LDFLAGS: -framework Metal -framework Foundation +// #cgo LDFLAGS: -framework Metal -framework CoreGraphics -framework Foundation // // #include // #include "mtl.h"