mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-11 21:21:47 +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->UnlockVertexBuffer();
|
||||||
mVBuf->UnlockIndexBuffer();
|
mVBuf->UnlockIndexBuffer();
|
||||||
|
mNumIndices = mIndices.Size();
|
||||||
|
|
||||||
// delete our temporary buffers
|
// delete our temporary buffers
|
||||||
mVertices.Clear();
|
mVertices.Clear();
|
||||||
|
|
Loading…
Reference in a new issue