From b0fc3d348ad848944c8ecf3cff285a4608a7c24a Mon Sep 17 00:00:00 2001 From: FlightlessMango Date: Wed, 5 Jan 2022 06:12:41 +0100 Subject: [PATCH] mangoapp: notifier --- src/app/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/main.cpp b/src/app/main.cpp index e9168c30..337a1ca2 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -28,6 +28,7 @@ overlay_params params {}; static ImVec2 window_size; static uint32_t vendorID; static std::string deviceName; +static notify_thread notifier; struct mangoapp_msg_header { long msg_type; // Message queue ID, never change @@ -121,6 +122,8 @@ int main(int, char**) create_fonts(params, sw_stats.font1, sw_stats.font_text); HUDElements.convert_colors(params); init_cpu_stats(params); + notifier.params = ¶ms; + start_notifier(notifier); deviceName = (char*)glGetString(GL_RENDERER); sw_stats.deviceName = deviceName; if (deviceName.find("Radeon") != std::string::npos