mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 06:21:50 +00:00
fix thing broken by refactor
This commit is contained in:
parent
ed2f0cac77
commit
895a496f6e
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ const Mesh<ChunkVertex>* ChunksRenderer::render(
|
||||||
) {
|
) {
|
||||||
glm::ivec2 key(chunk->x, chunk->z);
|
glm::ivec2 key(chunk->x, chunk->z);
|
||||||
chunk->flags.modified = false;
|
chunk->flags.modified = false;
|
||||||
if (!important) {
|
if (important) {
|
||||||
ChunkMesh mesh {};
|
ChunkMesh mesh {};
|
||||||
auto voxelsBuffer = prepareVoxelsVolume(*chunk);
|
auto voxelsBuffer = prepareVoxelsVolume(*chunk);
|
||||||
mesh = renderer->render(chunk.get(), *voxelsBuffer);
|
mesh = renderer->render(chunk.get(), *voxelsBuffer);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue