From 4b03bdc3ab0cb1a0296c4d48b125f15a07ca99bd Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sat, 19 Dec 2020 11:34:28 +0100 Subject: Remove wlr_create_renderer_func_t This callback allowed compositors to customize the EGL config used by the renderer. However with renderer v6 EGL configs aren't used anymore. Instead, buffers are allocated via GBM and GL FBOs are rendered to. So customizing the EGL config is a no-op. --- examples/fullscreen-shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/fullscreen-shell.c') diff --git a/examples/fullscreen-shell.c b/examples/fullscreen-shell.c index 9b722c05..9a2f7d7d 100644 --- a/examples/fullscreen-shell.c +++ b/examples/fullscreen-shell.c @@ -203,7 +203,7 @@ int main(int argc, char *argv[]) { struct fullscreen_server server = {0}; server.wl_display = wl_display_create(); - server.backend = wlr_backend_autocreate(server.wl_display, NULL); + server.backend = wlr_backend_autocreate(server.wl_display); server.renderer = wlr_backend_get_renderer(server.backend); wlr_renderer_init_wl_display(server.renderer, server.wl_display); -- cgit v1.2.3