mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-02-03 22:44:28 +01:00
examples/vector: fill the background with a solid color
This commit is contained in:
parent
6e9e57b3bd
commit
e4b056bac6
@ -337,7 +337,7 @@ func (g *Game) Draw(screen *ebiten.Image) {
|
|||||||
dst = g.offscreen
|
dst = g.offscreen
|
||||||
}
|
}
|
||||||
|
|
||||||
dst.Fill(color.RGBA{0xe0, 0xe0, 0xe0, 0xe0})
|
dst.Fill(color.RGBA{0xe0, 0xe0, 0xe0, 0xff})
|
||||||
drawEbitenText(dst, 0, 50, scale, g.line)
|
drawEbitenText(dst, 0, 50, scale, g.line)
|
||||||
drawEbitenLogo(dst, 20, 150, scale, g.line)
|
drawEbitenLogo(dst, 20, 150, scale, g.line)
|
||||||
drawArc(dst, g.counter, scale, g.line)
|
drawArc(dst, g.counter, scale, g.line)
|
||||||
|
Loading…
Reference in New Issue
Block a user