diff options
author | Simon Ser <contact@emersion.fr> | 2023-07-10 11:31:01 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-07-11 18:19:03 +0000 |
commit | b7dca21c2b8ac707e8d3e2abe68f787d524a202d (patch) | |
tree | 5ed23b856021b2c76c8354d08365146ca340d50b /render/pixman | |
parent | fe06e5f49a12174ceeb5e307bf5c3d7f623177d5 (diff) |
render: constify struct wlr_buffer_pass_options
Let's not allow renderer implementations to mutate the passed in
options.
Diffstat (limited to 'render/pixman')
-rw-r--r-- | render/pixman/renderer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/render/pixman/renderer.c b/render/pixman/renderer.c index 770f47ca..1d093024 100644 --- a/render/pixman/renderer.c +++ b/render/pixman/renderer.c @@ -493,7 +493,7 @@ static uint32_t pixman_get_render_buffer_caps(struct wlr_renderer *renderer) { } static struct wlr_render_pass *pixman_begin_buffer_pass(struct wlr_renderer *wlr_renderer, - struct wlr_buffer *wlr_buffer, struct wlr_buffer_pass_options *options) { + struct wlr_buffer *wlr_buffer, const struct wlr_buffer_pass_options *options) { struct wlr_pixman_renderer *renderer = get_renderer(wlr_renderer); struct wlr_pixman_buffer *buffer = get_buffer(renderer, wlr_buffer); |