summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers
diff options
context:
space:
mode:
authorDaniel Stone <[email protected]>2018-02-06 09:33:56 +0000
committerDaniel Stone <[email protected]>2018-02-09 16:17:15 +0000
commit66912641df480f53a0bac459fc7b6395d31c4eb3 (patch)
treed460da8c5ced098b6be73fea78c0b62ac98fe93f /src/egl/drivers
parent845c2f61563f17193cfdec263f2b72ede20af3c7 (diff)
egl/wayland: Use proper enum type in visual definition
No semantic change. Signed-off-by: Daniel Stone <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Tested-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/egl/drivers')
-rw-r--r--src/egl/drivers/dri2/platform_wayland.c2
1 files changed, 1 insertions, 1 deletions
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[] = {
{