mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
internal/graphicsdriver/metal/mtl: bug fix: fix a vet error
This commit is contained in:
parent
36bd3329b3
commit
6ccdc6382c
@ -35,7 +35,7 @@ func init() {
|
||||
//go:cgo_import_dynamic _ _ "Metal.framework/Metal"
|
||||
|
||||
// It is also necessary for CoreGraphics to be linked
|
||||
purego.Dlopen("/System/Library/Frameworks/CoreGraphics.framework/Versions/Current/CoreGraphics", purego.RTLD_LAZY|purego.RTLD_GLOBAL)
|
||||
_, _ = purego.Dlopen("/System/Library/Frameworks/CoreGraphics.framework/Versions/Current/CoreGraphics", purego.RTLD_LAZY|purego.RTLD_GLOBAL)
|
||||
}
|
||||
|
||||
func Example_listDevices() {
|
||||
|
Loading…
Reference in New Issue
Block a user