From ba6c0ced01e033b00859edefeded587dfb8371e6 Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Mon, 13 Sep 2021 17:02:28 -0400 Subject: [PATCH] tinywl: autocreate renderer from backend --- tinywl/tinywl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tinywl/tinywl.c b/tinywl/tinywl.c index 8697d2b30c..28ca9a46f7 100644 --- a/tinywl/tinywl.c +++ b/tinywl/tinywl.c @@ -844,7 +844,7 @@ int main(int argc, char *argv[]) { /* If we don't provide a renderer, autocreate makes a GLES2 renderer for us. * The renderer is responsible for defining the various pixel formats it * supports for shared memory, this configures that for clients. */ - server.renderer = wlr_backend_get_renderer(server.backend); + server.renderer = wlr_renderer_autocreate(server.backend); wlr_renderer_init_wl_display(server.renderer, server.wl_display); /* This creates some hands-off wlroots interfaces. The compositor is