aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2023-08-28 15:00:43 -0400
committerAlexander Orzechowski <alex@ozal.ski>2023-09-21 02:25:34 -0400
commit5299d973d5f497180b0ccf80d09a4aed4ebbfea2 (patch)
treea7685c9882bb45bc328f255d4b9153f6b0b48f3f /include
parentdbc7a5cada37d192821e1104b356ff891b8bd787 (diff)
render/pass: Introduce wlr_render_rect_options_get_box
Diffstat (limited to 'include')
-rw-r--r--include/wlr/render/interface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h
index 63fd3cf5..06f4083f 100644
--- a/include/wlr/render/interface.h
+++ b/include/wlr/render/interface.h
@@ -95,5 +95,7 @@ void wlr_render_texture_options_get_src_box(const struct wlr_render_texture_opti
void wlr_render_texture_options_get_dst_box(const struct wlr_render_texture_options *options,
struct wlr_box *box);
float wlr_render_texture_options_get_alpha(const struct wlr_render_texture_options *options);
+void wlr_render_rect_options_get_box(const struct wlr_render_rect_options *options,
+ const struct wlr_buffer *buffer, struct wlr_box *box);
#endif