aboutsummaryrefslogtreecommitdiff
path: root/examples/fullscreen-shell.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-12-19 11:34:28 +0100
committerSimon Ser <contact@emersion.fr>2020-12-30 17:09:40 +0100
commit4b03bdc3ab0cb1a0296c4d48b125f15a07ca99bd (patch)
treeba92975fc0f6c3fe7d62bbf2af120ea865383e77 /examples/fullscreen-shell.c
parentbec1e6b149eb6a5eb470dd4eee6ba0aa57f1b590 (diff)
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.
Diffstat (limited to 'examples/fullscreen-shell.c')
-rw-r--r--examples/fullscreen-shell.c2
1 files changed, 1 insertions, 1 deletions
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);