Module: Mesa
Branch: master
Commit: 66912641df480f53a0bac459fc7b6395d31c4eb3
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=66912641df480f53a0bac459fc7b6395d31c4eb3

Author: Daniel Stone <dani...@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 <dani...@collabora.com>
Reviewed-by: Emil Velikov <emil.veli...@collabora.com>
Tested-by: Ilia Mirkin <imir...@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[] = {
    {

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to