Rename window to "Render Options"
This commit is contained in:
parent
acfa4146ce
commit
7b11008a85
1 changed files with 6 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue