mirror of
https://github.com/swaywm/sway.git
synced 2026-04-20 06:47:03 -04:00
Constify pixman_region32_t for rendering functions
This commit is contained in:
parent
423459723b
commit
d6cb4fa8de
5 changed files with 29 additions and 29 deletions
|
|
@ -167,7 +167,7 @@ enum sway_container_layout output_get_default_layout(
|
|||
struct sway_output *output);
|
||||
|
||||
void render_rect(struct sway_output *output,
|
||||
pixman_region32_t *output_damage, const struct wlr_box *_box,
|
||||
const pixman_region32_t *output_damage, const struct wlr_box *_box,
|
||||
float color[static 4]);
|
||||
|
||||
void premultiply_alpha(float color[4], float opacity);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue