0
0
Fork 0
mirror of https://github.com/ZDoom/qzdoom.git synced 2024-12-03 17:32:26 +00:00

- fixed: voxels didn't set their index count.

This commit is contained in:
Christoph Oelckers 2014-10-24 11:52:45 +02:00
parent e5cd90f323
commit f8016bef86

View file

@ -387,6 +387,7 @@ void FVoxelModel::BuildVertexBuffer()
mVBuf->UnlockVertexBuffer();
mVBuf->UnlockIndexBuffer();
mNumIndices = mIndices.Size();
// delete our temporary buffers
mVertices.Clear();