Remove unnecessary call to monotonic()
This commit is contained in:
parent
62a0be4a11
commit
a2407f94e4
@ -678,7 +678,7 @@ draw_resizing_text(OSWindow *w) {
|
|||||||
static inline bool
|
static inline bool
|
||||||
no_render_frame_received_recently(OSWindow *w, double now, double max_wait) {
|
no_render_frame_received_recently(OSWindow *w, double now, double max_wait) {
|
||||||
bool ans = now - w->last_render_frame_received_at > max_wait;
|
bool ans = now - w->last_render_frame_received_at > max_wait;
|
||||||
if (ans) log_error("No render frame received in %f seconds, re-requesting at: %f", max_wait, monotonic());
|
if (ans) log_error("No render frame received in %f seconds, re-requesting at: %f", max_wait, now);
|
||||||
return ans;
|
return ans;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user