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