examples/platform: Remove settings

Add them again when necessary.
This commit is contained in:
Hajime Hoshi 2017-10-31 03:36:10 +09:00
parent 73a0a6a92b
commit c761dc7e8b

View File

@ -25,10 +25,8 @@ import (
const ( const (
// Settings // Settings
width = 1024 width = 1024
height = 512 height = 512
fullscreen = false
runinbackground = true
) )
var ( var (
@ -100,9 +98,6 @@ func main() {
panic(err) panic(err)
} }
ebiten.SetRunnableInBackground(runinbackground)
ebiten.SetFullscreen(fullscreen)
// Starts the program // Starts the program
if err := ebiten.Run(update, width, height, 1, "Platformer (Ebiten Demo)"); err != nil { if err := ebiten.Run(update, width, height, 1, "Platformer (Ebiten Demo)"); err != nil {
panic(err) panic(err)