[Mesa-dev] [PATCH 04/18] egl/wayland: Use proper enum type in visual definition
Daniel Stone
daniels at collabora.com
Thu Feb 8 14:05:54 UTC 2018
No semantic change.
Signed-off-by: Daniel Stone <daniels at collabora.com>
---
src/egl/drivers/dri2/platform_wayland.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c
index a9f8b51d986..fac66c8c2e2 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[] = {
{
--
2.14.3
More information about the mesa-dev
mailing list