mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-28 19:52:43 +01:00
internal/packing: fix the comment
This commit is contained in:
parent
6b957063d4
commit
707a44e367
@ -368,7 +368,7 @@ func (p *Page) extend(newWidth int, newHeight int) func() {
|
|||||||
p.width = origWidth
|
p.width = origWidth
|
||||||
p.height = origHeight
|
p.height = origHeight
|
||||||
// The node address must not be changed, so use the original root node's pointer (#2584).
|
// The node address must not be changed, so use the original root node's pointer (#2584).
|
||||||
// As the root node might be modified, recover the content from the cloned content.
|
// As the root node might be modified, restore the content by the cloned content.
|
||||||
p.root = origRoot
|
p.root = origRoot
|
||||||
*p.root = origRootCloned
|
*p.root = origRootCloned
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user