aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-07-09 19:23:01 +0200
committerdec05eba <dec05eba@protonmail.com>2023-07-09 19:23:01 +0200
commit6622c2a0b74dfe23d8be8d0203de20a48e24ae3f (patch)
treeb14f8f70d2326c528bf0c71592c0c301ec94396c /include
parentf0693a48f176c01dd7b22ca4aa2aca0299146b30 (diff)
Set fps limit (even when vsync is enabled) for retards who disable vsync system-wide
Diffstat (limited to 'include')
-rw-r--r--include/QuickMedia.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp
index 0f8837d..ea814e4 100644
--- a/include/QuickMedia.hpp
+++ b/include/QuickMedia.hpp
@@ -242,5 +242,8 @@ namespace QuickMedia {
int video_max_height = 0;
std::mutex login_inputs_mutex;
const char *yt_dl_name = nullptr;
+
+ mgl::Clock update_monitor_max_fps_timer;
+ int monitor_max_fps = 0;
};
}