fix updateVerticesForLOD

This commit is contained in:
yangxiao 2015-11-05 15:18:46 +08:00
parent ac0a0ed3bb
commit 3016bf696a
1 changed files with 1 additions and 1 deletions

View File

@ -1380,7 +1380,7 @@ void Terrain::Chunk::updateVerticesForLOD()
} }
glBufferData(GL_ARRAY_BUFFER, sizeof(TerrainVertexData)*_currentVertices.size(), &_currentVertices[0], GL_STREAM_DRAW); glBufferData(GL_ARRAY_BUFFER, sizeof(TerrainVertexData)*_currentVertices.size(), &_currentVertices[0], GL_STREAM_DRAW);
_oldLod = _currentLod;
} }
Terrain::Chunk::~Chunk() Terrain::Chunk::~Chunk()