render/pass: Introduce wlr_render_rect_options_get_box

This commit is contained in:
Alexander Orzechowski 2023-08-28 15:00:43 -04:00
parent dbc7a5cada
commit 5299d973d5
2 changed files with 16 additions and 0 deletions

View file

@ -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