diff options
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/render/interface.h | 2 | ||||
-rw-r--r-- | include/wlr/render/wlr_renderer.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h index c352efe1..bdb5bbb8 100644 --- a/include/wlr/render/interface.h +++ b/include/wlr/render/interface.h @@ -49,7 +49,7 @@ struct wlr_renderer_impl { struct wlr_texture *(*texture_from_buffer)(struct wlr_renderer *renderer, struct wlr_buffer *buffer); struct wlr_render_pass *(*begin_buffer_pass)(struct wlr_renderer *renderer, - struct wlr_buffer *buffer, struct wlr_buffer_pass_options *options); + struct wlr_buffer *buffer, const struct wlr_buffer_pass_options *options); struct wlr_render_timer *(*render_timer_create)(struct wlr_renderer *renderer); }; diff --git a/include/wlr/render/wlr_renderer.h b/include/wlr/render/wlr_renderer.h index f6e63223..61e31561 100644 --- a/include/wlr/render/wlr_renderer.h +++ b/include/wlr/render/wlr_renderer.h @@ -177,7 +177,7 @@ struct wlr_buffer_pass_options { * render pass. */ struct wlr_render_pass *wlr_renderer_begin_buffer_pass(struct wlr_renderer *renderer, - struct wlr_buffer *buffer, struct wlr_buffer_pass_options *options); + struct wlr_buffer *buffer, const struct wlr_buffer_pass_options *options); /** * Submit the render pass. |