mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
shareable: Bug fix: workaround to fix #562 by disabling extending
This commit is contained in:
parent
c6cd672536
commit
d421648e57
@ -39,6 +39,12 @@ func (b *backend) TryAlloc(width, height int) (*packing.Node, bool) {
|
||||
if n := b.page.Alloc(width, height); n != nil {
|
||||
return n, true
|
||||
}
|
||||
|
||||
// Break without extending the backend since the current Extend
|
||||
// implementation includes a bug #562.
|
||||
// TODO: Fix #562 and implement Extend correctly
|
||||
break
|
||||
|
||||
if !b.page.Extend() {
|
||||
break
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user