mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 18:18:09 +02:00
compositor-openwfd: Use wfd_device_id as drm fd
owfdrm uses non-0 (0 == WFD_INVALID_DEVICE_ID) fd's as wfd_device_ids. This is not standardized, but also not invalid.
This commit is contained in:
parent
7d36664c0d
commit
e28f84b7d8
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue