Mesa (master): egl/wayland: Use proper enum type in visual definition
Daniel Stone
daniels at kemper.freedesktop.org
Fri Feb 9 16:25:42 UTC 2018
Module: Mesa
Branch: master
Commit: 66912641df480f53a0bac459fc7b6395d31c4eb3
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=66912641df480f53a0bac459fc7b6395d31c4eb3
Author: Daniel Stone <daniels at collabora.com>
Date: Tue Feb 6 09:33:56 2018 +0000
egl/wayland: Use proper enum type in visual definition
No semantic change.
Signed-off-by: Daniel Stone <daniels at collabora.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Tested-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
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 b74dfa2ba9..1384cddd6b 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[] = {
{
More information about the mesa-commit
mailing list