mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
parent
0dcb53d290
commit
dbe4f27d5f
@ -54,7 +54,7 @@ func (b *backend) TryAlloc(width, height int) (*packing.Node, bool) {
|
||||
}
|
||||
nExtended++
|
||||
if n := page.Alloc(width, height); n != nil {
|
||||
page.Free(n)
|
||||
// The page is just for emulation, so we don't have to free it.
|
||||
break
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user