diff --git a/compositor/compositor-openwfd.c b/compositor/compositor-openwfd.c index e8862a0d..a0957dd9 100644 --- a/compositor/compositor-openwfd.c +++ b/compositor/compositor-openwfd.c @@ -111,7 +111,7 @@ init_egl(struct wfd_compositor *ec) EGL_NONE }; - fd = wfdDeviceGetDRMfd(ec->dev); + fd = wfdGetDeviceAttribi(ec->dev, WFD_DEVICE_ID); if (fd < 0) return -1;