diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-07-09 19:23:01 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-07-09 19:23:01 +0200 |
commit | 6622c2a0b74dfe23d8be8d0203de20a48e24ae3f (patch) | |
tree | b14f8f70d2326c528bf0c71592c0c301ec94396c /include | |
parent | f0693a48f176c01dd7b22ca4aa2aca0299146b30 (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.hpp | 3 |
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; }; } |