ebiten: refactoring: remove an unused member Image.screen

This commit is contained in:
Hajime Hoshi 2022-04-01 18:17:07 +09:00
parent ea1c18d124
commit 3ae4e873e6

View File

@ -37,7 +37,6 @@ type Image struct {
bounds image.Rectangle
original *Image
screen bool
}
func (i *Image) copyCheck() {
@ -851,7 +850,6 @@ func newScreenFramebufferImage(width, height int) *Image {
i := &Image{
image: ui.NewScreenFramebufferImage(width, height),
bounds: image.Rect(0, 0, width, height),
screen: true,
}
i.addr = i
return i