From 00ca539845e1c96908b70426d77ffa27a5005625 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Tue, 1 Nov 2011 17:43:00 +0000 Subject: [PATCH] wayland: Remove unused function The function force_roundtrip was unused and required API that was removed from Wayland. Reviewed-by: Robert Bragg --- cogl/winsys/cogl-winsys-egl.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/cogl/winsys/cogl-winsys-egl.c b/cogl/winsys/cogl-winsys-egl.c index ad3085409..23a884153 100644 --- a/cogl/winsys/cogl-winsys-egl.c +++ b/cogl/winsys/cogl-winsys-egl.c @@ -333,24 +333,6 @@ event_mask_update_cb (uint32_t mask, void *user_data) return 0; } -static void -sync_callback(void *data) -{ - int *done = data; - - *done = 1; -} - -static void -force_roundtrip(struct wl_display *display) -{ - int done = 0; - - wl_display_sync_callback(display, sync_callback, &done); - wl_display_iterate(display, WL_DISPLAY_WRITABLE); - while (!done) - wl_display_iterate(display, WL_DISPLAY_READABLE); -} #endif /* Updates all the function pointers */