diff --git a/clutter/clutter/clutter-frame-clock.c b/clutter/clutter/clutter-frame-clock.c index 8d5742836..30cc6fb12 100644 --- a/clutter/clutter/clutter-frame-clock.c +++ b/clutter/clutter/clutter-frame-clock.c @@ -739,6 +739,7 @@ clutter_frame_clock_dispatch (ClutterFrameClock *frame_clock, else frame_clock->last_dispatch_lateness_us = lateness_us; +#ifdef CLUTTER_ENABLE_DEBUG if (G_UNLIKELY (CLUTTER_HAS_DEBUG (FRAME_TIMINGS))) { int64_t dispatch_interval_us, jitter_us; @@ -752,6 +753,7 @@ clutter_frame_clock_dispatch (ClutterFrameClock *frame_clock, jitter_us, jitter_us * 100 / frame_clock->refresh_interval_us); } +#endif frame_clock->last_dispatch_time_us = time_us; g_source_set_ready_time (frame_clock->source, -1);