mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-27 11:12:44 +01:00
ebiten: Refactoring
This commit is contained in:
parent
5a62587df5
commit
b23dfff2ff
2
image.go
2
image.go
@ -791,8 +791,8 @@ func newScreenFramebufferImage(width, height int) *Image {
|
|||||||
i := &Image{
|
i := &Image{
|
||||||
mipmap: mipmap.NewScreenFramebufferMipmap(width, height),
|
mipmap: mipmap.NewScreenFramebufferMipmap(width, height),
|
||||||
bounds: image.Rect(0, 0, width, height),
|
bounds: image.Rect(0, 0, width, height),
|
||||||
|
screen: true,
|
||||||
}
|
}
|
||||||
i.addr = i
|
i.addr = i
|
||||||
i.screen = true
|
|
||||||
return i
|
return i
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user