ebiten: Refactoring

This commit is contained in:
Hajime Hoshi 2021-01-31 22:45:47 +09:00
parent 5a62587df5
commit b23dfff2ff

View File

@ -791,8 +791,8 @@ func newScreenFramebufferImage(width, height int) *Image {
i := &Image{
mipmap: mipmap.NewScreenFramebufferMipmap(width, height),
bounds: image.Rect(0, 0, width, height),
screen: true,
}
i.addr = i
i.screen = true
return i
}