1
Fork 0

Rename window to "Render Options"

This commit is contained in:
Joshua Goins 2022-08-16 07:24:49 -04:00
parent acfa4146ce
commit 7b11008a85

View file

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