From f5b7bc033eced5c1ba3ba63b52985fb9b0e9f618 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 23 Jun 2017 15:10:52 -0400 Subject: Add wlr_wl_compositor and remove wlr_wl_shm --- example/compositor.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'example/compositor.c') diff --git a/example/compositor.c b/example/compositor.c index 5106ec96..a52fe460 100644 --- a/example/compositor.c +++ b/example/compositor.c @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include #include "shared.h" @@ -37,7 +37,8 @@ int main() { compositor_init(&compositor); state.renderer = wlr_gles2_renderer_init(); - wlr_wl_shm_init(compositor.display); + wl_display_init_shm(compositor.display); + wlr_compositor_init(compositor.display); compositor_run(&compositor); } -- cgit v1.2.3