mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-09-20 13:22:19 +02:00
driver: Remove IsPlayground
This commit is contained in:
parent
b842a75a86
commit
889bc12093
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user