diff options
author | Simon Ser <contact@emersion.fr> | 2020-06-19 21:04:20 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-06-19 13:07:24 -0600 |
commit | c93016028680a0ce2bac2f2b8eeff5e5c1ea467e (patch) | |
tree | 8f8a662920dd2070a5a025b2008a4765f3726f30 /backend/noop/output.c | |
parent | 155d57b01d6870bec6f1d865f1693dddf0a1e6ff (diff) |
backend/noop: add missing rollback_render output impl
3c5dbfd97c77 ("output: make rollback_render mandatory") makes a no-op
output init fail without this function.
Diffstat (limited to 'backend/noop/output.c')
-rw-r--r-- | backend/noop/output.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/backend/noop/output.c b/backend/noop/output.c index 15c84941..1302d3d6 100644 --- a/backend/noop/output.c +++ b/backend/noop/output.c @@ -17,6 +17,10 @@ static bool output_attach_render(struct wlr_output *wlr_output, return false; } +static void output_rollback_render(struct wlr_output *wlr_output) { + // This space is intentionally left blank +} + static bool output_commit(struct wlr_output *wlr_output) { if (wlr_output->pending.committed & WLR_OUTPUT_STATE_ENABLED) { wlr_log(WLR_DEBUG, "Cannot disable a noop output"); @@ -50,6 +54,7 @@ static void output_destroy(struct wlr_output *wlr_output) { static const struct wlr_output_impl output_impl = { .destroy = output_destroy, .attach_render = output_attach_render, + .rollback_render = output_rollback_render, .commit = output_commit, }; |