mirror of https://github.com/liamg/aminal.git
dispose of temprary alpha image
This commit is contained in:
parent
60ae1452c4
commit
4bbcce5557
|
@ -318,4 +318,5 @@ func (g *GUI) Draw(screen *ebiten.Image) {
|
|||
opt := &ebiten.DrawImageOptions{}
|
||||
opt.ColorM.Scale(1, 1, 1, g.opacity)
|
||||
screen.DrawImage(tmp, opt)
|
||||
tmp.Dispose()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue