mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 22:11:51 +00:00
fix extra faces when dense mode is off
This commit is contained in:
parent
a14f8a6163
commit
89485dc592
1 changed files with 1 additions and 1 deletions
|
|
@ -750,7 +750,7 @@ void BlocksRenderer::build(const Chunk* chunk, const VoxelsVolume& volume) {
|
||||||
size_t endIndex = indexCount;
|
size_t endIndex = indexCount;
|
||||||
|
|
||||||
denseRender = true;
|
denseRender = true;
|
||||||
densePass = true;
|
densePass = settings.graphics.denseRender.get();
|
||||||
render(voxels, beginEnds);
|
render(voxels, beginEnds);
|
||||||
|
|
||||||
denseIndexCount = indexCount;
|
denseIndexCount = indexCount;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue