mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
parent
ee2f891fcc
commit
09bd8b6f4a
@ -435,7 +435,6 @@ func (g *Graphics) availableBuffer(length uintptr) mtl.Buffer {
|
||||
return bufs[a].Length() < bufs[b].Length()
|
||||
})
|
||||
for _, b := range bufs[maxUnusedBuffers:] {
|
||||
println("delete!", b.Length())
|
||||
delete(g.unusedBuffers, b)
|
||||
b.Release()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user