diff options
Diffstat (limited to 'examples/simple.c')
-rw-r--r-- | examples/simple.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/simple.c b/examples/simple.c index 95c056c8..90808b0f 100644 --- a/examples/simple.c +++ b/examples/simple.c @@ -35,12 +35,12 @@ 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); - wlr_output_swap_buffers(output->output); + wlr_output_swap_buffers(output->output, NULL, NULL); } int main() { |