aboutsummaryrefslogtreecommitdiff
path: root/examples/touch.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-02-25 13:16:35 -0500
committerGitHub <noreply@github.com>2018-02-25 13:16:35 -0500
commit3296365ce591ae4ba115befa8134bc2526b36710 (patch)
treee1b7a73b6d86e69b356bc8791a0b0996fa2842ad /examples/touch.c
parent7da653bbb4569d41ce1a46c97e3b10c675f73741 (diff)
parent202a728ee9a0e7dbfbcc7e51e060a2a9a5f09847 (diff)
Merge pull request #659 from agx/alpha
Make wlr_render_with_matrix use alpha
Diffstat (limited to 'examples/touch.c')
-rw-r--r--examples/touch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/touch.c b/examples/touch.c
index 3cf00e9c..278252cc 100644
--- a/examples/touch.c
+++ b/examples/touch.c
@@ -53,7 +53,7 @@ static void handle_output_frame(struct output_state *output, struct timespec *ts
(int)(p->x * width) - sample->cat_texture->width / 2,
(int)(p->y * height) - sample->cat_texture->height / 2);
wlr_render_with_matrix(sample->renderer,
- sample->cat_texture, &matrix);
+ sample->cat_texture, &matrix, 1.0f);
}
wlr_renderer_end(sample->renderer);