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 95c056c8..f788618d 100644
--- a/examples/simple.c
+++ b/examples/simple.c
@@ -40,7 +40,7 @@ void handle_output_frame(struct output_state *output, struct timespec *ts) {
glClearColor(sample->color[0], sample->color[1], sample->color[2], 1.0);
glClear(GL_COLOR_BUFFER_BIT);
- wlr_output_swap_buffers(output->output);
+ wlr_output_swap_buffers(output->output, NULL, NULL);
}
int main() {