blob: a30cd27ac315b7308eb36cd29fa63f1095d2ac0d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build darwin && metal
// +build darwin,metal
package driver
import (
"golang.org/x/exp/shiny/driver/mtldriver"
"golang.org/x/exp/shiny/screen"
)
func main(f func(screen.Screen)) {
mtldriver.Main(f)
}
|