Refactored renderer startup to function.

This commit is contained in:
Scott Anderson 2017-05-14 12:48:47 +12:00
parent ce8786721b
commit 7efdd3c9fc
3 changed files with 28 additions and 45 deletions

View file

@ -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);
}
}