examples/polygons: Bug fix: Inserted an experimental code

This commit is contained in:
Hajime Hoshi 2020-07-25 23:30:01 +09:00
parent 968f077bab
commit c6282e1cfc

View File

@ -139,8 +139,6 @@ func (g *Game) Layout(outsideWidth, outsideHeight int) (int, int) {
func main() { func main() {
ebiten.SetWindowSize(screenWidth, screenHeight) ebiten.SetWindowSize(screenWidth, screenHeight)
ebiten.SetWindowTitle("Polygons (Ebiten Demo)") ebiten.SetWindowTitle("Polygons (Ebiten Demo)")
ebiten.SetScreenTransparent(true)
ebiten.SetWindowDecorated(false)
if err := ebiten.RunGame(&Game{ngon: 10}); err != nil { if err := ebiten.RunGame(&Game{ngon: 10}); err != nil {
log.Fatal(err) log.Fatal(err)
} }