diff --git a/glamor/glamor_egl.c b/glamor/glamor_egl.c index 91c36a361..6e0fc6596 100644 --- a/glamor/glamor_egl.c +++ b/glamor/glamor_egl.c @@ -1090,11 +1090,11 @@ glamor_egl_init(ScrnInfoPtr scrn, int fd) "EGL_EXT_image_dma_buf_import") && epoxy_has_egl_extension(glamor_egl->display, "EGL_EXT_image_dma_buf_import_modifiers")) { - if (xf86Info.debug != NULL) - glamor_egl->dmabuf_capable = !!strstr(xf86Info.debug, - "dmabuf_capable"); - else - glamor_egl->dmabuf_capable = TRUE; + if (xf86Info.debug != NULL) + glamor_egl->dmabuf_capable = !!strstr(xf86Info.debug, + "dmabuf_capable"); + else + glamor_egl->dmabuf_capable = FALSE; } #endif