mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-30 15:52:09 +00:00
- fixed: voxels didn't set their index count.
This commit is contained in:
parent
e5cd90f323
commit
f8016bef86
1 changed files with 1 additions and 0 deletions
|
@ -387,6 +387,7 @@ void FVoxelModel::BuildVertexBuffer()
|
|||
|
||||
mVBuf->UnlockVertexBuffer();
|
||||
mVBuf->UnlockIndexBuffer();
|
||||
mNumIndices = mIndices.Size();
|
||||
|
||||
// delete our temporary buffers
|
||||
mVertices.Clear();
|
||||
|
|
Loading…
Reference in a new issue