gl-renderer: make use of linux_dmabuf_buffer_get_user_data()
... to get the user_data. Like everywhere else through weston. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
parent
8b964bca50
commit
2d8331c4b7
@ -1748,7 +1748,7 @@ gl_renderer_attach_egl(struct weston_surface *es, struct weston_buffer *buffer,
|
||||
static void
|
||||
gl_renderer_destroy_dmabuf(struct linux_dmabuf_buffer *dmabuf)
|
||||
{
|
||||
struct dmabuf_image *image = dmabuf->user_data;
|
||||
struct dmabuf_image *image = linux_dmabuf_buffer_get_user_data(dmabuf);
|
||||
|
||||
dmabuf_image_destroy(image);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user