mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-14 08:30:50 +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