937938939940941942943944945
} } private void checkDirty () { if (!matrixDirty) return; ShapeType type = currType; end(); begin(type); }
944945946947948949950951952
begin(type); } private void checkFlush (int newVertices) { if (renderer.getMaxVertices() - renderer.getNumVertices() >= newVertices) return; ShapeType type = currType; end(); begin(type); }
956957958959960961962963964
renderer.end(); currType = null; } public void flush () { ShapeType type = currType; end(); begin(type); }