I have a feeling the ensureXXX aren't correct. It should allocate *both* vertices and indices upfront. This one will only grow the vertices array, the ensureRectangleIndices method will only grow indices array. (see also: http://www.badlogicgames.com/forum/viewtopic.php?f=11&t=11109)