github.com/as/shiny@v0.8.2/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  // +build !windows
     8  
     9  package gldriver
    10  
    11  import (
    12  	"fmt"
    13  	"runtime"
    14  
    15  	"github.com/as/shiny/screen"
    16  )
    17  
    18  func newWindow(opts *screen.NewWindowOptions) (uintptr, error) { return 0, nil }
    19  
    20  func initWindow(id *windowImpl) {}
    21  func showWindow(id *windowImpl) {}
    22  func closeWindow(id uintptr)    {}
    23  func drawLoop(w *windowImpl)    {}
    24  
    25  func main(f func(screen.Screen)) error {
    26  	return fmt.Errorf("gldriver: unsupported GOOS/GOARCH %s/%s", runtime.GOOS, runtime.GOARCH)
    27  }