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