[PATCH xserver] glamor: Enable modifier support for xfree86 too

Adam Jackson ajax at redhat.com
Wed Jun 6 19:56:26 UTC 2018


This was left disabled in 1.20.0, it's time to start being sure it
works.

Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 glamor/glamor_egl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/glamor/glamor_egl.c b/glamor/glamor_egl.c
index 123e9f28d4..4a4ca4bd86 100644
--- a/glamor/glamor_egl.c
+++ b/glamor/glamor_egl.c
@@ -999,8 +999,8 @@ glamor_egl_init(ScrnInfoPtr scrn, int fd)
        if (xf86Info.debug != NULL)
            glamor_egl->dmabuf_capable = !!strstr(xf86Info.debug,
                                                 "dmabuf_capable");
-        else
-            glamor_egl->dmabuf_capable = FALSE;
+       else
+           glamor_egl->dmabuf_capable = TRUE;
     }
 #endif
 
-- 
2.17.0



More information about the xorg-devel mailing list