mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
internal/graphicsdriver/metal: update the minimum version of macOS
Updates #2095
This commit is contained in:
parent
3d00bb1fa2
commit
fef79f4d3e
@ -30,7 +30,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.12
|
||||
// #cgo !ios CFLAGS: -mmacosx-version-min=10.14
|
||||
// #cgo LDFLAGS: -framework QuartzCore -framework Foundation -framework CoreGraphics
|
||||
//
|
||||
// #include "ca_darwin.h"
|
||||
|
@ -29,7 +29,7 @@ import (
|
||||
)
|
||||
|
||||
// #cgo CFLAGS: -x objective-c
|
||||
// #cgo !ios CFLAGS: -mmacosx-version-min=10.12
|
||||
// #cgo !ios CFLAGS: -mmacosx-version-min=10.14
|
||||
// #cgo LDFLAGS: -framework Foundation
|
||||
//
|
||||
// #import <Foundation/Foundation.h>
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
// Package mtl provides access to Apple's Metal API (https://developer.apple.com/documentation/metal).
|
||||
//
|
||||
// Package mtl requires macOS version 10.13 or newer.
|
||||
// Package mtl requires macOS version 10.14 or newer.
|
||||
//
|
||||
// This package is in very early stages of development.
|
||||
// The API will change when opportunities for improvement are discovered; it is not yet frozen.
|
||||
@ -28,7 +28,7 @@ import (
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
// #cgo !ios CFLAGS: -mmacosx-version-min=10.12
|
||||
// #cgo !ios CFLAGS: -mmacosx-version-min=10.14
|
||||
// #cgo LDFLAGS: -framework Metal -framework CoreGraphics -framework Foundation
|
||||
//
|
||||
// #include "mtl_darwin.h"
|
||||
|
@ -25,7 +25,7 @@ import (
|
||||
"github.com/hajimehoshi/ebiten/v2/internal/graphicsdriver/metal/ca"
|
||||
)
|
||||
|
||||
// #cgo !ios CFLAGS: -mmacosx-version-min=10.12
|
||||
// #cgo !ios CFLAGS: -mmacosx-version-min=10.14
|
||||
//
|
||||
// #include "ns_darwin.h"
|
||||
import "C"
|
||||
|
Loading…
Reference in New Issue
Block a user