From 99757103fce836b0440b0ea7972a324e0c9ce699 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Mon, 29 Dec 2025 21:39:26 +0300 Subject: [PATCH] cleanup --- src/graphics/render/ChunksRenderer.cpp | 3 +-- src/voxels/Chunks.cpp | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/graphics/render/ChunksRenderer.cpp b/src/graphics/render/ChunksRenderer.cpp index 31d44cf13..717064fb2 100644 --- a/src/graphics/render/ChunksRenderer.cpp +++ b/src/graphics/render/ChunksRenderer.cpp @@ -120,11 +120,10 @@ std::shared_ptr ChunksRenderer::prepareVoxelsVolume( return voxelsBuffer; } -#include "util/timeutil.hpp" - const Mesh* ChunksRenderer::render( const std::shared_ptr& chunk, bool important, bool lowPriority ) { + important = true; glm::ivec2 key(chunk->x, chunk->z); chunk->flags.modified = false; if (important) { diff --git a/src/voxels/Chunks.cpp b/src/voxels/Chunks.cpp index d835b26ba..4b73f1abe 100644 --- a/src/voxels/Chunks.cpp +++ b/src/voxels/Chunks.cpp @@ -369,8 +369,6 @@ static inline light_t apply_backlight(light_t light) { ); } -#include "util/timeutil.hpp" - // ugly static inline void sample_chunk( const decltype(ContentIndices::blocks)& defs, @@ -427,7 +425,6 @@ void Chunks::getVoxels( bool backlight, int top ) const { - timeutil::ScopeLogTimer log(111); int h = std::min(size.y, top); int scx = floordiv(pos.x);