Fixed VertexIndex::getElementSize

This commit is contained in:
Alex Szpakowski
2013-01-30 19:01:14 -04:00
parent de959b7275
commit a76ffd5715
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -248,12 +248,12 @@ void VBO::unload(bool save)
// VertexIndex
size_t VertexIndex::maxSize = 0;
size_t VertexIndex::elementSize = 0;
std::list<size_t> VertexIndex::sizeRefs;
VertexBuffer *VertexIndex::element_array = NULL;
VertexIndex::VertexIndex(size_t size)
: size(size)
, elementSize(0)
{
// The upper limit is the maximum of GLuint divided by six (the number
// of indices per size) and divided by the size of GLuint. This guarantees