Cleaned up some Mesh and SpriteBatch code.

This commit is contained in:
Alex Szpakowski
2015-08-11 23:07:33 -03:00
parent bfef97c48a
commit a45c1332a7
6 changed files with 96 additions and 76 deletions
-5
View File
@@ -240,11 +240,6 @@ private:
// avoid memory allocations when using Mesh::setVertex etc.
char *vertexScratchBuffer;
// Tracks the range of the vertex buffer that has been used, to make unmap()
// calls as efficient as possible.
size_t vboUsedOffset;
size_t vboUsedSize;
// Element (vertex index) buffer, for the vertex map.
GLBuffer *ibo;
size_t elementCount;