aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-20 23:58:30 +0100
committeremersion <contact@emersion.fr>2018-04-20 23:58:30 +0100
commit70d820be252ed530dd456b0d4c3fc84a3377f8c8 (patch)
tree47b9c0d6e3f9699bb56a94a7790159ab74b17298 /rootston
parentc18afd6731270cf3243586989416bc2168d7588f (diff)
Add wlr_renderer_init_wl_shm to advertize supported renderer formats
Diffstat (limited to 'rootston')
-rw-r--r--rootston/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rootston/main.c b/rootston/main.c
index cfa3e4aa..a61d65c9 100644
--- a/rootston/main.c
+++ b/rootston/main.c
@@ -43,7 +43,7 @@ int main(int argc, char **argv) {
assert(server.renderer);
server.data_device_manager =
wlr_data_device_manager_create(server.wl_display);
- wl_display_init_shm(server.wl_display);
+ wlr_renderer_init_wl_shm(server.renderer, server.wl_display);
server.desktop = desktop_create(&server, server.config);
server.input = input_create(&server, server.config);