From: Daniel Stone Date: Tue, 6 Feb 2018 09:33:56 +0000 (+0000) Subject: egl/wayland: Use proper enum type in visual definition X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=66912641df480f53a0bac459fc7b6395d31c4eb3;p=mesa.git egl/wayland: Use proper enum type in visual definition No semantic change. Signed-off-by: Daniel Stone Reviewed-by: Emil Velikov Tested-by: Ilia Mirkin --- diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c index b74dfa2ba9f..1384cddd6b0 100644 --- a/src/egl/drivers/dri2/platform_wayland.c +++ b/src/egl/drivers/dri2/platform_wayland.c @@ -67,7 +67,7 @@ enum wl_drm_format_flags { static const struct { const char *format_name; - int has_format; + enum wl_drm_format_flags has_format; unsigned int rgba_masks[4]; } dri2_wl_visuals[] = { {