aboutsummaryrefslogtreecommitdiff
path: root/examples/output-layers.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/output-layers.c')
-rw-r--r--examples/output-layers.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/output-layers.c b/examples/output-layers.c
index 0c53a18e..d4a45d5b 100644
--- a/examples/output-layers.c
+++ b/examples/output-layers.c
@@ -94,7 +94,8 @@ static void output_handle_frame(struct wl_listener *listener, void *data) {
wlr_output_effective_resolution(output->wlr_output, &width, &height);
struct wlr_output_state output_state = {0};
- struct wlr_render_pass *pass = wlr_output_begin_render_pass(output->wlr_output, &output_state, NULL);
+ struct wlr_render_pass *pass = wlr_output_begin_render_pass(output->wlr_output, &output_state,
+ NULL, NULL);
wlr_render_pass_add_rect(pass, &(struct wlr_render_rect_options){
.box = { .width = width, .height = height },