Slightly improved the performance of SpriteBatch:setBufferSize.

This commit is contained in:
Alex Szpakowski
2014-09-18 18:30:56 -03:00
parent 417173b43a
commit 5dda0c08eb
4 changed files with 32 additions and 29 deletions
@@ -412,6 +412,9 @@ public:
*/
VertexIndex(size_t size);
VertexIndex(const VertexIndex &other);
VertexIndex &operator = (const VertexIndex &other);
/**
* Removes an entry from the list of sizes and resizes the VertexBuffer
* if needed.