mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
internal/graphicsdriver/metal/mtl: bug fix: fail to resolve Metal.framework path with Xcode 15
Updates #2732 Closes #2784
This commit is contained in:
parent
c7d1d28582
commit
915ed48f7a
@ -32,7 +32,7 @@ import (
|
||||
func init() {
|
||||
// for these tests to pass Metal must be linked directly.
|
||||
// it is not needed for any of the others nor for Ebitengine to work properly.
|
||||
//go:cgo_import_dynamic _ _ "Metal.framework/Metal"
|
||||
//go:cgo_import_dynamic _ _ "/System/Library/Frameworks/Metal.framework/Metal"
|
||||
|
||||
// It is also necessary for CoreGraphics to be linked
|
||||
_, _ = purego.Dlopen("/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics", purego.RTLD_LAZY|purego.RTLD_GLOBAL)
|
||||
|
Loading…
Reference in New Issue
Block a user