aboutsummaryrefslogtreecommitdiff
path: root/examples/simple.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-01-21 00:06:35 +0100
committeremersion <contact@emersion.fr>2018-01-21 00:06:35 +0100
commit0365b587f03411d6a55017e111a991d466decc35 (patch)
tree8d4668c9c51e60535b560a3f3e367fc421c9b72b /examples/simple.c
parent78c13ead163e76b1c0ff344eefeadcaeffb3890e (diff)
output: add damage tracking via buffer age
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 f788618d..90808b0f 100644
--- a/examples/simple.c
+++ b/examples/simple.c
@@ -35,7 +35,7 @@ void handle_output_frame(struct output_state *output, struct timespec *ts) {
sample->dec = inc;
}
- wlr_output_make_current(output->output);
+ wlr_output_make_current(output->output, NULL);
glClearColor(sample->color[0], sample->color[1], sample->color[2], 1.0);
glClear(GL_COLOR_BUFFER_BIT);