Skip to content

Commit

Permalink
upgrade ovr version
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonCernWq committed Feb 13, 2024
1 parent bfcc85a commit 52d2d5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/int_dual_volume.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ struct MainWindow : public glfwapp::GLFCameraWindow {
if (stats.local_updated) {
stats.get_local_history(x0, y0);
}
if (ImPlot::BeginPlot("##Loss Plot", ImVec2(500,150), ImPlotFlags_AntiAliased | ImPlotFlags_NoFrame)) {
if (ImPlot::BeginPlot("##Loss Plot", ImVec2(500,150), ImPlotFlags_NoFrame)) {
ImPlot::SetupAxes("Loss History", "Loss", ImPlotAxisFlags_AutoFit, ImPlotAxisFlags_AutoFit);
ImPlot::SetupLegend(ImPlotLocation_East, ImPlotLegendFlags_Outside);
ImPlot::PlotLine("Loss", x0.data(), y0.data(), (int)x0.size());
Expand Down
2 changes: 1 addition & 1 deletion apps/int_isosurface.cu
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ public:
ImGui::SetNextWindowPos(ImVec2(/*padding*/2.0f, 2.0f));
ImGui::SetNextWindowSizeConstraints(ImVec2(100, 180), ImVec2(FLT_MAX, FLT_MAX));
if (ImGui::Begin("Performance", NULL, ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoBackground | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoDecoration)) {
if (ImPlot::BeginPlot("##Performance Plot", ImVec2(500,150), ImPlotFlags_AntiAliased | ImPlotFlags_NoFrame)) {
if (ImPlot::BeginPlot("##Performance Plot", ImVec2(500,150), ImPlotFlags_NoFrame)) {
ImPlot::SetupAxes("frame history", "time [ms]", ImPlotAxisFlags_AutoFit, ImPlotAxisFlags_AutoFit);
ImPlot::PlotLine("frame time", background_fps.indices.data(), background_fps.frame_time_history.data(), (int)background_fps.frame_time_history.size());
ImPlot::EndPlot();
Expand Down

0 comments on commit 52d2d5c

Please sign in to comment.