driver: Remove IsPlayground

This commit is contained in:
Hajime Hoshi 2019-11-04 03:04:00 +09:00
parent b842a75a86
commit 889bc12093

View File

@ -20,10 +20,6 @@ import (
"time" "time"
) )
// IsPlayground indicates whether the current environment is the Go Playground (play.golang.org) or not.
// The fixed time is explicitly defined. See "About the Playground" at play.golang.org.
var IsPlayground = time.Now().UnixNano() == 1257894000000000000
type UIContext interface { type UIContext interface {
SetSize(width, height int, scale float64) SetSize(width, height int, scale float64)
Update(afterFrameUpdate func()) error Update(afterFrameUpdate func()) error