gl-renderer: Fix sign confusion in format/modifier query
Signed and unsigned integers are not the same thing. Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
348e3a9abd
commit
eeaaf6b9b0
@ -2862,8 +2862,8 @@ populate_supported_formats(struct weston_compositor *ec,
|
||||
struct weston_drm_format *fmt;
|
||||
int *formats = NULL;
|
||||
uint64_t *modifiers = NULL;
|
||||
unsigned int num_formats, num_modifiers;
|
||||
unsigned int i, j;
|
||||
int num_formats, num_modifiers;
|
||||
int i, j;
|
||||
int ret = 0;
|
||||
|
||||
/* Use EGL_EXT_image_dma_buf_import_modifiers to query the
|
||||
|
Loading…
Reference in New Issue
Block a user