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();