mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
clutter/frame-clock: Don't recalculate refresh_interval_us
It was moved to a central location in ba1490ec9c
.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2157>
This commit is contained in:
parent
1c5613728f
commit
8b8690c405
@ -314,8 +314,7 @@ clutter_frame_clock_compute_max_render_time_us (ClutterFrameClock *frame_clock)
|
||||
int64_t max_render_time_us;
|
||||
int i;
|
||||
|
||||
refresh_interval_us =
|
||||
(int64_t) (0.5 + G_USEC_PER_SEC / frame_clock->refresh_rate);
|
||||
refresh_interval_us = frame_clock->refresh_interval_us;
|
||||
|
||||
if (!frame_clock->got_measurements_last_frame ||
|
||||
G_UNLIKELY (clutter_paint_debug_flags &
|
||||
|
Loading…
Reference in New Issue
Block a user