[PATCH weston] rpi: Remove redundant cast
Tomeu Vizoso
tomeu at tomeuvizoso.net
Wed Oct 9 11:29:45 CEST 2013
---
src/rpi-renderer.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/rpi-renderer.c b/src/rpi-renderer.c
index 6b39e8c..a95cc60 100644
--- a/src/rpi-renderer.c
+++ b/src/rpi-renderer.c
@@ -1288,8 +1288,7 @@ rpi_renderer_attach(struct weston_surface *base, struct weston_buffer *buffer)
} else {
#if ENABLE_EGL
struct rpi_renderer *renderer = to_rpi_renderer(base->compositor);
- struct wl_resource *wl_resource =
- (struct wl_resource *)buffer->resource;
+ struct wl_resource *wl_resource = buffer->resource;
if (!renderer->has_bind_display ||
!renderer->query_buffer(renderer->egl_display,
--
1.8.3.1
More information about the wayland-devel
mailing list