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>
This commit is contained in:
parent
ceb5981af0
commit
5fc8d5eb9d
@ -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…
Reference in New Issue
Block a user