github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/exp/shiny/driver/gldriver/other.go (about) 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 // +build !darwin !386,!amd64 ios 6 // +build !linux android 7 8 package gldriver 9 10 import ( 11 "fmt" 12 "runtime" 13 14 "golang.org/x/exp/shiny/screen" 15 ) 16 17 func newWindow(width, height int32) uintptr { return 0 } 18 func showWindow(id uintptr) uintptr { return 0 } 19 func closeWindow(id uintptr) {} 20 func drawLoop(w *windowImpl) {} 21 22 func main(f func(screen.Screen)) error { 23 return fmt.Errorf("gldriver: unsupported GOOS/GOARCH %s/%s", runtime.GOOS, runtime.GOARCH) 24 }