diff options
| author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-01-05 11:16:16 -0600 | 
|---|---|---|
| committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-01-10 18:13:31 -0600 | 
| commit | facbe57fcbe74d27809eefdfe6aaac5150fbb954 (patch) | |
| tree | 6ba42b9d2405713dc95c3bac7b579d04225a581e | |
| parent | 668022bc906fc7ba4d2092d260fbd10304fec29f (diff) | |
drop wl_drm (wlroots!4397)
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4397
Diffstat (limited to '')
| -rw-r--r-- | dwl.c | 5 | 
1 files changed, 1 insertions, 4 deletions
@@ -20,7 +20,6 @@  #include <wlr/types/wlr_cursor_shape_v1.h>  #include <wlr/types/wlr_data_control_v1.h>  #include <wlr/types/wlr_data_device.h> -#include <wlr/types/wlr_drm.h>  #include <wlr/types/wlr_export_dmabuf_v1.h>  #include <wlr/types/wlr_fractional_scale_v1.h>  #include <wlr/types/wlr_gamma_control_v1.h> @@ -2216,11 +2215,9 @@ setup(void)  	 * with wlr_scene. */  	wlr_renderer_init_wl_shm(drw, dpy); -	if (wlr_renderer_get_dmabuf_texture_formats(drw)) { -		wlr_drm_create(dpy, drw); +	if (wlr_renderer_get_dmabuf_texture_formats(drw))  		wlr_scene_set_linux_dmabuf_v1(scene,  				wlr_linux_dmabuf_v1_create_with_renderer(dpy, 4, drw)); -	}  	/* Autocreates an allocator for us.  	 * The allocator is the bridge between the renderer and the backend. It  | 
