summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/x11/window-x11.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/x11/window-x11.c b/src/x11/window-x11.c
index 9152fde52..7f8e79aa5 100644
--- a/src/x11/window-x11.c
+++ b/src/x11/window-x11.c
@@ -4074,6 +4074,7 @@ meta_window_x11_update_sync_request_counter (MetaWindow *window,
meta_compositor_queue_frame_drawn (window->display->compositor, window,
no_delay_frame);
+#ifdef COGL_HAS_TRACING
if (G_UNLIKELY (cogl_is_tracing_enabled ()))
{
g_autofree char *description = NULL;
@@ -4086,6 +4087,7 @@ meta_window_x11_update_sync_request_counter (MetaWindow *window,
COGL_TRACE_DESCRIBE (MetaWindowSyncRequestCounter, description);
COGL_TRACE_END (MetaWindowSyncRequestCounter);
}
+#endif
}
Window