diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-24 10:16:38 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-24 10:16:38 +0200 |
commit | f57dfc925bfeaec772c4eac88995e87262fe357f (patch) | |
tree | 183764be6e7ed6c5809d6a365f87070b17f5d910 /editor | |
parent | 0635b7f5e8902856a86517aa921ac9f05e295917 (diff) |
wip
Diffstat (limited to 'editor')
-rw-r--r-- | editor/imgui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/imgui.cpp b/editor/imgui.cpp index e49b9120..fbf7ab83 100644 --- a/editor/imgui.cpp +++ b/editor/imgui.cpp @@ -252,7 +252,7 @@ void app::draw_lightmap_test() //constexpr auto img_size = 1 / Vector2(lightmap_shader::max_chunks); if (ImGui::Begin("Lightmap", &is_open, flags)) { - ImGui::Image(&shader.scratch_texture(), preview_size, {0, 0}, {1, 1}); + ImGui::Image(&shader.accum_texture(), preview_size, {0, 0}, {1, 1}); ImGui::End(); } if (!is_open) |