mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-09 23:15:59 +01:00
Merge pull request #498 from emersion/rootston-auto-backend
rootston: revert to auto backend
This commit is contained in:
commit
3d07d260cb
1 changed files with 1 additions and 5 deletions
|
@ -30,11 +30,7 @@ int main(int argc, char **argv) {
|
||||||
assert(server.wl_display = wl_display_create());
|
assert(server.wl_display = wl_display_create());
|
||||||
assert(server.wl_event_loop = wl_display_get_event_loop(server.wl_display));
|
assert(server.wl_event_loop = wl_display_get_event_loop(server.wl_display));
|
||||||
|
|
||||||
//assert(server.backend = wlr_backend_autocreate(server.wl_display));
|
assert(server.backend = wlr_backend_autocreate(server.wl_display));
|
||||||
assert(server.backend = wlr_headless_backend_create(server.wl_display));
|
|
||||||
wlr_headless_add_output(server.backend, 1280, 720);
|
|
||||||
wlr_headless_add_input_device(server.backend, WLR_INPUT_DEVICE_KEYBOARD);
|
|
||||||
wlr_headless_add_input_device(server.backend, WLR_INPUT_DEVICE_POINTER);
|
|
||||||
|
|
||||||
assert(server.renderer = wlr_gles2_renderer_create(server.backend));
|
assert(server.renderer = wlr_gles2_renderer_create(server.backend));
|
||||||
server.data_device_manager =
|
server.data_device_manager =
|
||||||
|
|
Loading…
Reference in a new issue