mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
examples/polygons: Bug fix: Inserted an experimental code
This commit is contained in:
parent
968f077bab
commit
c6282e1cfc
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user