diff options
author | Simon Ser <contact@emersion.fr> | 2023-02-22 18:34:08 +0100 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2023-02-22 13:37:44 -0500 |
commit | d6cb4fa8de1e540c58b58d29d1520df296e46d1f (patch) | |
tree | e12cce906c4470fdd7a78e765f3cc6bc92ec7963 /include/sway/output.h | |
parent | Adjust scale for fractional-scale-v1 (diff) | |
download | sway-d6cb4fa8de1e540c58b58d29d1520df296e46d1f.tar.gz sway-d6cb4fa8de1e540c58b58d29d1520df296e46d1f.tar.zst sway-d6cb4fa8de1e540c58b58d29d1520df296e46d1f.zip |
Constify pixman_region32_t for rendering functions
Diffstat (limited to 'include/sway/output.h')
-rw-r--r-- | include/sway/output.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/output.h b/include/sway/output.h index 28be6a1e..da625315 100644 --- a/include/sway/output.h +++ b/include/sway/output.h | |||
@@ -167,7 +167,7 @@ enum sway_container_layout output_get_default_layout( | |||
167 | struct sway_output *output); | 167 | struct sway_output *output); |
168 | 168 | ||
169 | void render_rect(struct sway_output *output, | 169 | void render_rect(struct sway_output *output, |
170 | pixman_region32_t *output_damage, const struct wlr_box *_box, | 170 | const pixman_region32_t *output_damage, const struct wlr_box *_box, |
171 | float color[static 4]); | 171 | float color[static 4]); |
172 | 172 | ||
173 | void premultiply_alpha(float color[4], float opacity); | 173 | void premultiply_alpha(float color[4], float opacity); |