From 7b11008a85771a0180d2728052e95750aa62c837 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Tue, 16 Aug 2022 07:24:49 -0400 Subject: [PATCH] Rename window to "Render Options" --- src/main.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 661eb49..d859f4d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -292,6 +292,8 @@ int main(int, char*[]) { ImGui::EndMainMenuBar(); } + + ImGui::Begin("Render Options"); ImGui::Checkbox("Use BVH", &use_bvh); ImGui::InputInt("Indirect Samples", &num_indirect_samples); @@ -317,7 +319,7 @@ int main(int, char*[]) { if(ImGui::Button("Dump to file")) dump_to_file(); - + if(image_dirty) { update_texture(); image_dirty = false; @@ -330,7 +332,9 @@ int main(int, char*[]) { ImGui::TreePop(); } } - + + ImGui::End(); + ImGui::Render(); auto& io = ImGui::GetIO();