internal/graphicsdriver/metal: Remove println

Updates #1196
This commit is contained in:
Hajime Hoshi 2021-07-06 21:51:54 +09:00
parent ee2f891fcc
commit 09bd8b6f4a

View File

@ -435,7 +435,6 @@ func (g *Graphics) availableBuffer(length uintptr) mtl.Buffer {
return bufs[a].Length() < bufs[b].Length() return bufs[a].Length() < bufs[b].Length()
}) })
for _, b := range bufs[maxUnusedBuffers:] { for _, b := range bufs[maxUnusedBuffers:] {
println("delete!", b.Length())
delete(g.unusedBuffers, b) delete(g.unusedBuffers, b)
b.Release() b.Release()
} }