aboutsummaryrefslogtreecommitdiff
path: root/examples/simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/simple.c')
-rw-r--r--examples/simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simple.c b/examples/simple.c
index c4cd731b..0c737106 100644
--- a/examples/simple.c
+++ b/examples/simple.c
@@ -63,7 +63,7 @@ static void output_frame_notify(struct wl_listener *listener, void *data) {
}
struct wlr_output_state state = {0};
- struct wlr_render_pass *pass = wlr_output_begin_render_pass(wlr_output, &state, NULL);
+ struct wlr_render_pass *pass = wlr_output_begin_render_pass(wlr_output, &state, NULL, NULL);
wlr_render_pass_add_rect(pass, &(struct wlr_render_rect_options){
.box = { .width = wlr_output->width, .height = wlr_output->height },
.color = {