mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
Refactored renderer startup to function.
This commit is contained in:
parent
ce8786721b
commit
7efdd3c9fc
3 changed files with 28 additions and 45 deletions
|
|
@ -57,7 +57,7 @@ static void device_resumed(struct wl_listener *listener, void *data) {
|
|||
|
||||
for (size_t i = 0; i < drm->outputs->length; ++i) {
|
||||
struct wlr_output_state *output = drm->outputs->items[i];
|
||||
wlr_drm_output_draw_blank(output);
|
||||
wlr_drm_output_start_renderer(output);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue