egl/wayland: Use proper enum type in visual definition
authorDaniel Stone <daniels@collabora.com>
Tue, 6 Feb 2018 09:33:56 +0000 (09:33 +0000)
committerDaniel Stone <daniels@collabora.com>
Fri, 9 Feb 2018 16:17:15 +0000 (16:17 +0000)
No semantic change.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Tested-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/egl/drivers/dri2/platform_wayland.c

index b74dfa2ba9f1e999ba3f7ec0791b9f725a3029bf..1384cddd6b0dee36d6783af2039a6d116bbd8a68 100644 (file)
@@ -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[] = {
    {