release TextItems to pool

This commit is contained in:
Hannes Janetzek 2013-04-12 22:45:21 +02:00
parent 35849b9829
commit 78d67a4bff

View File

@ -91,7 +91,11 @@ public class GridOverlay extends BasicOverlay {
tl.addText(ti);
}
}
tl.prepare();
TextItem.pool.releaseAll(tl.labels);
layers.textureLayers = tl;
}