aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-01-19 14:08:47 +0100
committeremersion <contact@emersion.fr>2018-01-19 14:08:47 +0100
commite29a0df8c14fdc5038e64de4a1ad08a7de8fd7fc (patch)
treec5e548301ffa56659153f7e4f3d4e3426f581d82 /examples
parentb296481007f79481a90a82f3dee3aead2883d00c (diff)
output: fix software cursors damage tracking
Diffstat (limited to 'examples')
-rw-r--r--examples/multi-pointer.c2
-rw-r--r--examples/output-layout.c2
-rw-r--r--examples/pointer.c2
-rw-r--r--examples/rotation.c2
-rw-r--r--examples/simple.c2
-rw-r--r--examples/tablet.c2
-rw-r--r--examples/touch.c2
7 files changed, 7 insertions, 7 deletions
diff --git a/examples/multi-pointer.c b/examples/multi-pointer.c
index 62aa1bac..d5297aef 100644
--- a/examples/multi-pointer.c
+++ b/examples/multi-pointer.c
@@ -62,7 +62,7 @@ static void handle_output_frame(struct output_state *output,
sample->clear_color[2], sample->clear_color[3]);
glClear(GL_COLOR_BUFFER_BIT);
- wlr_output_swap_buffers(wlr_output);
+ wlr_output_swap_buffers(wlr_output, NULL, NULL);
}
static void handle_output_add(struct output_state *ostate) {
diff --git a/examples/output-layout.c b/examples/output-layout.c
index 35ed22a8..825e97d1 100644
--- a/examples/output-layout.c
+++ b/examples/output-layout.c
@@ -125,7 +125,7 @@ static void handle_output_frame(struct output_state *output,
}
wlr_renderer_end(sample->renderer);
- wlr_output_swap_buffers(wlr_output);
+ wlr_output_swap_buffers(wlr_output, NULL, NULL);
}
static void handle_output_add(struct output_state *ostate) {
diff --git a/examples/pointer.c b/examples/pointer.c
index 9894e311..8b0993e5 100644
--- a/examples/pointer.c
+++ b/examples/pointer.c
@@ -91,7 +91,7 @@ static void handle_output_frame(struct output_state *output,
sample->clear_color[2], sample->clear_color[3]);
glClear(GL_COLOR_BUFFER_BIT);
- wlr_output_swap_buffers(wlr_output);
+ wlr_output_swap_buffers(wlr_output, NULL, NULL);
}
static void handle_output_add(struct output_state *ostate) {
diff --git a/examples/rotation.c b/examples/rotation.c
index 1d974025..6fa06dcc 100644
--- a/examples/rotation.c
+++ b/examples/rotation.c
@@ -56,7 +56,7 @@ static void handle_output_frame(struct output_state *output, struct timespec *ts
}
wlr_renderer_end(sample->renderer);
- wlr_output_swap_buffers(wlr_output);
+ wlr_output_swap_buffers(wlr_output, NULL, NULL);
long ms = (ts->tv_sec - output->last_frame.tv_sec) * 1000 +
(ts->tv_nsec - output->last_frame.tv_nsec) / 1000000;
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() {
diff --git a/examples/tablet.c b/examples/tablet.c
index f3cd5339..5498c9ff 100644
--- a/examples/tablet.c
+++ b/examples/tablet.c
@@ -76,7 +76,7 @@ static void handle_output_frame(struct output_state *output, struct timespec *ts
}
wlr_renderer_end(sample->renderer);
- wlr_output_swap_buffers(wlr_output);
+ wlr_output_swap_buffers(wlr_output, NULL, NULL);
}
static void handle_tool_axis(struct tablet_tool_state *tstate,
diff --git a/examples/touch.c b/examples/touch.c
index 4c1f97b6..5c778743 100644
--- a/examples/touch.c
+++ b/examples/touch.c
@@ -56,7 +56,7 @@ static void handle_output_frame(struct output_state *output, struct timespec *ts
}
wlr_renderer_end(sample->renderer);
- wlr_output_swap_buffers(wlr_output);
+ wlr_output_swap_buffers(wlr_output, NULL, NULL);
}
static void handle_touch_down(struct touch_state *tstate, int32_t touch_id,