mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
restorable: Fix comments
This commit is contained in:
parent
eeb8fea778
commit
e2cfb2da6f
@ -102,7 +102,7 @@ func NewScreenFramebufferImage(width, height int) *Image {
|
||||
|
||||
func (i *Image) clear() {
|
||||
// There are not 'drawImageHistoryItem's for this image and dummyImage.
|
||||
// As dummyImage is a priority image, this is restored faster than other regular images.
|
||||
// As dummyImage is a priority image, this is restored before other regular images are restored.
|
||||
w, h := i.Size()
|
||||
sw, sh := dummyImage.Size()
|
||||
dw := graphics.NextPowerOf2Int(w)
|
||||
|
Loading…
Reference in New Issue
Block a user