|
|
@ -91,8 +91,8 @@ bool server_init(struct sway_server *server) {
|
|
|
|
|
|
|
|
|
|
|
|
if (wlr_renderer_get_dmabuf_texture_formats(server->renderer) != NULL) {
|
|
|
|
if (wlr_renderer_get_dmabuf_texture_formats(server->renderer) != NULL) {
|
|
|
|
wlr_drm_create(server->wl_display, server->renderer);
|
|
|
|
wlr_drm_create(server->wl_display, server->renderer);
|
|
|
|
server->linux_dmabuf_v1 =
|
|
|
|
server->linux_dmabuf_v1 = wlr_linux_dmabuf_v1_create_with_renderer(
|
|
|
|
wlr_linux_dmabuf_v1_create(server->wl_display, server->renderer);
|
|
|
|
server->wl_display, 4, server->renderer);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
server->allocator = wlr_allocator_autocreate(server->backend,
|
|
|
|
server->allocator = wlr_allocator_autocreate(server->backend,
|
|
|
|