mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
graphicsdriver/metal: Update the minimum macOS version to 10.12 for Go 1.15
This commit is contained in:
parent
5ec3113aa2
commit
eb056690aa
@ -32,7 +32,7 @@ import (
|
||||
// It is because old Xcode (8 or older?) does not accept @available syntax.
|
||||
|
||||
// #cgo CFLAGS: -Wno-unguarded-availability-new
|
||||
// #cgo !ios CFLAGS: -mmacosx-version-min=10.11
|
||||
// #cgo !ios CFLAGS: -mmacosx-version-min=10.12
|
||||
// #cgo LDFLAGS: -framework QuartzCore -framework Foundation -framework CoreGraphics
|
||||
//
|
||||
// #include "ca.h"
|
||||
|
@ -31,7 +31,7 @@ import (
|
||||
)
|
||||
|
||||
// #cgo CFLAGS: -x objective-c
|
||||
// #cgo !ios CFLAGS: -mmacosx-version-min=10.11
|
||||
// #cgo !ios CFLAGS: -mmacosx-version-min=10.12
|
||||
// #cgo LDFLAGS: -framework Foundation
|
||||
//
|
||||
// #import <Foundation/Foundation.h>
|
||||
|
@ -30,7 +30,7 @@ import (
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
// #cgo !ios CFLAGS: -mmacosx-version-min=10.11
|
||||
// #cgo !ios CFLAGS: -mmacosx-version-min=10.12
|
||||
// #cgo LDFLAGS: -framework Metal -framework CoreGraphics -framework Foundation
|
||||
//
|
||||
// #include <stdlib.h>
|
||||
|
@ -27,7 +27,7 @@ import (
|
||||
"github.com/hajimehoshi/ebiten/internal/graphicsdriver/metal/ca"
|
||||
)
|
||||
|
||||
// #cgo !ios CFLAGS: -mmacosx-version-min=10.11
|
||||
// #cgo !ios CFLAGS: -mmacosx-version-min=10.12
|
||||
//
|
||||
// #include "ns.h"
|
||||
import "C"
|
||||
|
Loading…
Reference in New Issue
Block a user