aboutsummaryrefslogtreecommitdiff
path: root/examples/fullscreen-shell.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-06-11 18:48:20 +0200
committerDrew DeVault <sir@cmpwn.com>2020-06-11 11:50:17 -0600
commit3c13527ead480909632f51c882239f4fa4aabc63 (patch)
treee0846aa69e6df142955c4c1fbf050f3cf02bf331 /examples/fullscreen-shell.c
parent4615ce9099b10a4325936cd57f1ca253fc5fcc2d (diff)
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.
Diffstat (limited to 'examples/fullscreen-shell.c')
-rw-r--r--examples/fullscreen-shell.c2
1 files changed, 0 insertions, 2 deletions
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 <wlr/render/wlr_renderer.h>
#include <wlr/types/wlr_compositor.h>
#include <wlr/types/wlr_fullscreen_shell_v1.h>
-#include <wlr/types/wlr_linux_dmabuf_v1.h>
#include <wlr/types/wlr_matrix.h>
#include <wlr/types/wlr_output_layout.h>
#include <wlr/types/wlr_output.h>
@@ -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();