mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-27 11:12:44 +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 {
|
if n := b.page.Alloc(width, height); n != nil {
|
||||||
return n, true
|
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() {
|
if !b.page.Extend() {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user