summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-03-03 11:11:36 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-03-04 06:58:12 +0100
commitba31abd91c5d783a382999f05720b5a116065338 (patch)
tree6f222109ebe9fb70448650d0db1e108a39a5295e
parent5da1415e7c6080c892e6f90eac74a51fa1409993 (diff)
c
-rw-r--r--main/draw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/draw.cpp b/main/draw.cpp
index 000d4630..df5521b0 100644
--- a/main/draw.cpp
+++ b/main/draw.cpp
@@ -34,7 +34,7 @@ void main_impl::do_update()
#else
value = secs;
#endif
- if (secs > 35e-3f /* && !dt_expected.do_sleep */)
+ if (secs > 35e-3f /* && !dt_expected.do_sleep */) [[likely]]
fm_debug("%zu frame took %.2f milliseconds", bad_frame_counter++, (double)(secs*1e3));
}
else