diff options
| author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-10-27 20:26:55 -0600 | 
|---|---|---|
| committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-10-27 20:37:15 -0600 | 
| commit | 6ca87210d49424b457a319ae037d8a0658346af9 (patch) | |
| tree | 357bd6e9bd9a63eda34d316c43559e3b62dc2e6a /dwl.c | |
| parent | 002c7d22043da56a54511b5d234c2e3bd997d119 (diff) | |
check if the backend supports explicit sync before creating the object (wlroots!4848)
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4848
Diffstat (limited to '')
| -rw-r--r-- | dwl.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| @@ -2436,7 +2436,8 @@ setup(void)  				wlr_linux_dmabuf_v1_create_with_renderer(dpy, 5, drw));  	} -	if ((drm_fd = wlr_renderer_get_drm_fd(drw)) >= 0 && drw->features.timeline) +	if ((drm_fd = wlr_renderer_get_drm_fd(drw)) >= 0 && drw->features.timeline +			&& backend->features.timeline)  		wlr_linux_drm_syncobj_manager_v1_create(dpy, 1, drm_fd);  	/* Autocreates an allocator for us. | 
