diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-02-25 13:16:35 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-25 13:16:35 -0500 |
commit | 3296365ce591ae4ba115befa8134bc2526b36710 (patch) | |
tree | e1b7a73b6d86e69b356bc8791a0b0996fa2842ad /include/wlr/render | |
parent | 7da653bbb4569d41ce1a46c97e3b10c675f73741 (diff) | |
parent | 202a728ee9a0e7dbfbcc7e51e060a2a9a5f09847 (diff) |
Merge pull request #659 from agx/alpha
Make wlr_render_with_matrix use alpha
Diffstat (limited to 'include/wlr/render')
-rw-r--r-- | include/wlr/render/interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h index b989e399..eda5af1c 100644 --- a/include/wlr/render/interface.h +++ b/include/wlr/render/interface.h @@ -22,7 +22,7 @@ struct wlr_renderer_impl { void (*scissor)(struct wlr_renderer *renderer, struct wlr_box *box); struct wlr_texture *(*texture_create)(struct wlr_renderer *renderer); bool (*render_with_matrix)(struct wlr_renderer *renderer, - struct wlr_texture *texture, const float (*matrix)[16]); + struct wlr_texture *texture, const float (*matrix)[16], float alpha); void (*render_quad)(struct wlr_renderer *renderer, const float (*color)[4], const float (*matrix)[16]); void (*render_ellipse)(struct wlr_renderer *renderer, |