From 52d2d5c4a65829d79eed60edbde5487d49547570 Mon Sep 17 00:00:00 2001 From: Qi Wu Date: Mon, 12 Feb 2024 18:34:54 -0800 Subject: [PATCH] upgrade ovr version --- apps/int_dual_volume.cpp | 2 +- apps/int_isosurface.cu | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/int_dual_volume.cpp b/apps/int_dual_volume.cpp index 8524e75..90f1092 100644 --- a/apps/int_dual_volume.cpp +++ b/apps/int_dual_volume.cpp @@ -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()); diff --git a/apps/int_isosurface.cu b/apps/int_isosurface.cu index dbc8da0..c1f0d49 100644 --- a/apps/int_isosurface.cu +++ b/apps/int_isosurface.cu @@ -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();