mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
examples/set: Use color.RGBA
This commit is contained in:
parent
67ce6c57c4
commit
ea29637fda
@ -46,7 +46,7 @@ func update(screen *ebiten.Image) error {
|
||||
w, h := offscreen.Size()
|
||||
x := rand.Intn(w)
|
||||
y := rand.Intn(h)
|
||||
c := color.NRGBA{
|
||||
c := color.RGBA{
|
||||
byte(rand.Intn(256)),
|
||||
byte(rand.Intn(256)),
|
||||
byte(rand.Intn(256)),
|
||||
|
Loading…
Reference in New Issue
Block a user