| 1 | // Copyright 2015 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 && (!linux || android) && !windows && !dragonfly && !openbsd |
| 6 | |
| 7 | package driver |
| 8 | |
| 9 | import ( |
| 10 | "errors" |
| 11 | |
| 12 | "golang.org/x/exp/shiny/driver/internal/errscreen" |
| 13 | "golang.org/x/exp/shiny/screen" |
| 14 | ) |
| 15 | |
| 16 | func main(f func(screen.Screen)) { |
| 17 | f(errscreen.Stub(errors.New("no driver for accessing a screen"))) |
| 18 | } |