gl-renderer: Change 'data' type to 'uint8_t *', since 'void *' arithmetic is undefined

Signed-off-by: Raúl Peñacoba <raul.mikaop.zelda@gmail.com>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
dev
Raúl Peñacoba 8 years ago committed by Quentin Glidic
parent ceb5981af0
commit 5fc8d5eb9d
No known key found for this signature in database
GPG Key ID: AC203F96E2C34BB7
  1. 2
      libweston/gl-renderer.c

@ -1237,7 +1237,7 @@ gl_renderer_flush_damage(struct weston_surface *surface)
struct weston_view *view;
bool texture_used;
pixman_box32_t *rectangles;
void *data;
uint8_t *data;
int i, j, n;
pixman_region32_union(&gs->texture_damage,

Loading…
Cancel
Save