summaryrefslogtreecommitdiffhomepage
path: root/editor/imgui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/imgui.cpp')
-rw-r--r--editor/imgui.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/editor/imgui.cpp b/editor/imgui.cpp
index e0838d1c..ea76cc76 100644
--- a/editor/imgui.cpp
+++ b/editor/imgui.cpp
@@ -232,9 +232,7 @@ void app::draw_lightmap_test()
{
_testing_light = true;
shader.begin_occlusion();
-#if 0
- shader.add_chunk(chunk_offset, e_->chunk());
-#endif
+ shader.add_chunk(Vector2{}, e_->chunk()); // todo add neighbors
shader.end_occlusion();
shader.bind();
shader.add_light(L);