[cogl/wayland-winsys-update: 1/2] wayland: Remove unused function
- From: Rob Bradford <rbradford src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/wayland-winsys-update: 1/2] wayland: Remove unused function
- Date: Thu, 3 Nov 2011 12:51:52 +0000 (UTC)
commit 23254995bf9d59e3403d1349eefc9286aef946ee
Author: Rob Bradford <rob linux intel com>
Date: Tue Nov 1 17:43:00 2011 +0000
wayland: Remove unused function
The function force_roundtrip was unused and required API that was removed from
Wayland.
cogl/winsys/cogl-winsys-egl.c | 18 ------------------
1 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/cogl/winsys/cogl-winsys-egl.c b/cogl/winsys/cogl-winsys-egl.c
index ad30854..23a8841 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 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]