mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
packing: Better panic message
This commit is contained in:
parent
63f9ac2ccc
commit
95d3561a3a
@ -211,7 +211,7 @@ func walk(n *Node, f func(n *Node) error) error {
|
||||
|
||||
func (p *Page) Extend(count int) bool {
|
||||
if p.rollbackExtension != nil {
|
||||
panic("packing: Extend cannot be called just after Extend")
|
||||
panic("packing: Extend cannot be called without rolling back or commiting")
|
||||
}
|
||||
|
||||
if p.size >= p.maxSize {
|
||||
|
Loading…
Reference in New Issue
Block a user