Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Commit

Permalink
tinywl: autocreate renderer from backend
Browse files Browse the repository at this point in the history
  • Loading branch information
bl4ckb0ne committed Sep 15, 2021
1 parent ebe636d commit d02f3a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tinywl/tinywl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d02f3a2

Please sign in to comment.