From c761dc7e8b2b367e6f3fbf95bd1639116fcb93d3 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Tue, 31 Oct 2017 03:36:10 +0900 Subject: [PATCH] examples/platform: Remove settings Add them again when necessary. --- examples/platformer/main.go | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/examples/platformer/main.go b/examples/platformer/main.go index ff7967b58..77ca3316b 100644 --- a/examples/platformer/main.go +++ b/examples/platformer/main.go @@ -25,10 +25,8 @@ import ( const ( // Settings - width = 1024 - height = 512 - fullscreen = false - runinbackground = true + width = 1024 + height = 512 ) var ( @@ -100,9 +98,6 @@ func main() { panic(err) } - ebiten.SetRunnableInBackground(runinbackground) - ebiten.SetFullscreen(fullscreen) - // Starts the program if err := ebiten.Run(update, width, height, 1, "Platformer (Ebiten Demo)"); err != nil { panic(err)