From a67849a20b6ea1290f6083aeb2a134c0ba85df08 Mon Sep 17 00:00:00 2001 From: FlightlessMango Date: Fri, 29 Sep 2023 15:50:06 +0200 Subject: [PATCH] mingw: ifdef more throttling code for linux --- src/hud_elements.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hud_elements.cpp b/src/hud_elements.cpp index 73d5dbaa..0c881311 100644 --- a/src/hud_elements.cpp +++ b/src/hud_elements.cpp @@ -787,6 +787,7 @@ void HudElements::frame_timing(){ } } ImGui::EndChild(); +#ifdef __linux__ if (HUDElements.params->enabled[OVERLAY_PARAM_ENABLED_throttling_status_graph] && throttling){ ImGui::Dummy(ImVec2(0.0f, real_font_size.y / 2)); @@ -806,6 +807,7 @@ void HudElements::frame_timing(){ } ImGui::PopFont(); ImGui::PopStyleColor(); +#endif } }