rpi: Remove redundant cast

dev
Tomeu Vizoso 11 years ago committed by Kristian Høgsberg
parent 4c8ce20ba7
commit a8e5f29ff9
  1. 3
      src/rpi-renderer.c

@ -1288,8 +1288,7 @@ rpi_renderer_attach(struct weston_surface *base, struct weston_buffer *buffer)
} else { } else {
#if ENABLE_EGL #if ENABLE_EGL
struct rpi_renderer *renderer = to_rpi_renderer(base->compositor); struct rpi_renderer *renderer = to_rpi_renderer(base->compositor);
struct wl_resource *wl_resource = struct wl_resource *wl_resource = buffer->resource;
(struct wl_resource *)buffer->resource;
if (!renderer->has_bind_display || if (!renderer->has_bind_display ||
!renderer->query_buffer(renderer->egl_display, !renderer->query_buffer(renderer->egl_display,

Loading…
Cancel
Save