summaryrefslogtreecommitdiffstats
path: root/game/client/chunk_renderer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'game/client/chunk_renderer.cc')
-rw-r--r--game/client/chunk_renderer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/game/client/chunk_renderer.cc b/game/client/chunk_renderer.cc
index 1b038b1..7282f4a 100644
--- a/game/client/chunk_renderer.cc
+++ b/game/client/chunk_renderer.cc
@@ -87,7 +87,7 @@ void chunk_renderer::render(void)
glDepthFunc(GL_LEQUAL);
glLineWidth(1.0f);
- if(toggles::render_wireframe)
+ if(toggles::get(TOGGLE_WIREFRAME))
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
else glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
@@ -192,7 +192,7 @@ void chunk_renderer::render(void)
}
}
- if(toggles::draw_chunk_borders) {
+ if(toggles::get(TOGGLE_CHUNK_AABB)) {
outline::prepare();
for(const auto [entity, chunk, mesh] : group.each()) {