mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +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.
|
// It is because old Xcode (8 or older?) does not accept @available syntax.
|
||||||
|
|
||||||
// #cgo CFLAGS: -Wno-unguarded-availability-new
|
// #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
|
// #cgo LDFLAGS: -framework QuartzCore -framework Foundation -framework CoreGraphics
|
||||||
//
|
//
|
||||||
// #include "ca.h"
|
// #include "ca.h"
|
||||||
|
@ -31,7 +31,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// #cgo CFLAGS: -x objective-c
|
// #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
|
// #cgo LDFLAGS: -framework Foundation
|
||||||
//
|
//
|
||||||
// #import <Foundation/Foundation.h>
|
// #import <Foundation/Foundation.h>
|
||||||
|
@ -30,7 +30,7 @@ import (
|
|||||||
"unsafe"
|
"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
|
// #cgo LDFLAGS: -framework Metal -framework CoreGraphics -framework Foundation
|
||||||
//
|
//
|
||||||
// #include <stdlib.h>
|
// #include <stdlib.h>
|
||||||
|
@ -27,7 +27,7 @@ import (
|
|||||||
"github.com/hajimehoshi/ebiten/internal/graphicsdriver/metal/ca"
|
"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"
|
// #include "ns.h"
|
||||||
import "C"
|
import "C"
|
||||||
|
Loading…
Reference in New Issue
Block a user