summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2013-10-09 11:29:45 +0200
committerKristian Høgsberg <krh@bitplanet.net>2013-10-10 16:51:33 -0700
commita8e5f29ff953d8171819196e95359b552059a936 (patch)
tree4473df75af9b8db4a19a795d88189fd3f486ad59 /src
parent4c8ce20ba7a1373276fd2c0dea9a237601a70d48 (diff)
downloadweston-a8e5f29ff953d8171819196e95359b552059a936.tar.gz
rpi: Remove redundant cast
Diffstat (limited to 'src')
-rw-r--r--src/rpi-renderer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rpi-renderer.c b/src/rpi-renderer.c
index 6b39e8c2..a95cc604 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,