From 3c13527ead480909632f51c882239f4fa4aabc63 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 11 Jun 2020 18:48:20 +0200 Subject: examples/fullscreen-shell: stop advertising linux-dmabuf unconditonally Remove the wlr_linux_dmabuf_v1_create call. wlr_renderer_init_wl_display will take care of creating the linux-dmabuf global if the OpenGL implementation supports it. --- examples/fullscreen-shell.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'examples') diff --git a/examples/fullscreen-shell.c b/examples/fullscreen-shell.c index cac8853b..9b722c05 100644 --- a/examples/fullscreen-shell.c +++ b/examples/fullscreen-shell.c @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include @@ -209,7 +208,6 @@ int main(int argc, char *argv[]) { wlr_renderer_init_wl_display(server.renderer, server.wl_display); wlr_compositor_create(server.wl_display, server.renderer); - wlr_linux_dmabuf_v1_create(server.wl_display, server.renderer); server.output_layout = wlr_output_layout_create(); -- cgit v1.2.3