mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +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.height = origHeight
|
||||
// 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 = origRootCloned
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user