summaryrefslogtreecommitdiffhomepage
path: root/editor/imgui.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-10-28 03:07:00 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-10-28 15:10:45 +0100
commit936fc578a825a04a58fce5d6bea518b1b02694f1 (patch)
tree72e76fc2c157bdbafb8b4264f7f786701861c632 /editor/imgui.cpp
parent1bfc0344dd517f33ac1a2f5c1d18c568381a80db (diff)
wip to rebase
Diffstat (limited to 'editor/imgui.cpp')
-rw-r--r--editor/imgui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/imgui.cpp b/editor/imgui.cpp
index 0e5b56cc..81ecd59c 100644
--- a/editor/imgui.cpp
+++ b/editor/imgui.cpp
@@ -312,7 +312,7 @@ void app::draw_lightmap_test(float main_menu_height)
if (ImGui::Begin("Lightmap", &is_open, flags))
{
- ImGui::Image(&shader.accum_texture(), preview_size, {0, 0}, {1, 1});
+ ImGui::Image(shader.accum_texture().id(), preview_size, {0, 0}, {1, 1});
ImGui::End();
}
else