ebiten: Rename Draw*WithShader -> Draw*Shader

Updates #1168
This commit is contained in:
Hajime Hoshi
2020-07-25 23:15:08 +09:00
parent eb056690aa
commit 2bdbcd724d
3 changed files with 30 additions and 28 deletions

View File

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