This commit is contained in:
MihailRis 2025-12-29 21:39:26 +03:00
parent 88544183d0
commit 99757103fc
2 changed files with 1 additions and 5 deletions

View file

@ -120,11 +120,10 @@ std::shared_ptr<VoxelsRenderVolume> ChunksRenderer::prepareVoxelsVolume(
return voxelsBuffer;
}
#include "util/timeutil.hpp"
const Mesh<ChunkVertex>* ChunksRenderer::render(
const std::shared_ptr<Chunk>& chunk, bool important, bool lowPriority
) {
important = true;
glm::ivec2 key(chunk->x, chunk->z);
chunk->flags.modified = false;
if (important) {