projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0695908
)
simple-egl: Clean up unused frame_listener
author
Boyan Ding
<stu_dby@126.com>
Mon, 11 Aug 2014 08:08:33 +0000
(16:08 +0800)
committer
Pekka Paalanen
<pekka.paalanen@collabora.co.uk>
Fri, 15 Aug 2014 12:52:08 +0000
(15:52 +0300)
Unused since commit
1e65840b6103197a684a551925a58fb1ae6c40e3
Signed-off-by: Boyan Ding <stu_dby@126.com>
Reviewed-by: Nils Chr. Brause <nilschrbrause@gmail.com>
clients/simple-egl.c
patch
|
blob
|
history
diff --git
a/clients/simple-egl.c
b/clients/simple-egl.c
index
2097b4c
..
f23fb8c
100644
(file)
--- a/
clients/simple-egl.c
+++ b/
clients/simple-egl.c
@@
-367,8
+367,6
@@
destroy_surface(struct window *window)
wl_callback_destroy(window->callback);
}
-static const struct wl_callback_listener frame_listener;
-
static void
redraw(void *data, struct wl_callback *callback, uint32_t time)
{
@@
-469,10
+467,6
@@
redraw(void *data, struct wl_callback *callback, uint32_t time)
window->frames++;
}
-static const struct wl_callback_listener frame_listener = {
- redraw
-};
-
static void
pointer_handle_enter(void *data, struct wl_pointer *pointer,
uint32_t serial, struct wl_surface *surface,