mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
ebiten: refactoring: remove an unused member Image.screen
This commit is contained in:
parent
ea1c18d124
commit
3ae4e873e6
2
image.go
2
image.go
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user