c/render: Constify arguments [NFC]

This commit is contained in:
Jakob Bornecrantz 2023-10-01 23:56:11 +01:00
parent b5a9300479
commit 87b3b2ea5a
2 changed files with 2 additions and 2 deletions

View file

@ -651,7 +651,7 @@ render_gfx_end_target(struct render_gfx *rr)
}
void
render_gfx_begin_view(struct render_gfx *rr, uint32_t view, struct render_viewport_data *viewport_data)
render_gfx_begin_view(struct render_gfx *rr, uint32_t view, const struct render_viewport_data *viewport_data)
{
struct vk_bundle *vk = vk_from_rr(rr);

View file

@ -750,7 +750,7 @@ render_gfx_end_target(struct render_gfx *rr);
* @public @memberof render_gfx
*/
void
render_gfx_begin_view(struct render_gfx *rr, uint32_t view, struct render_viewport_data *viewport_data);
render_gfx_begin_view(struct render_gfx *rr, uint32_t view, const struct render_viewport_data *viewport_data);
/*!
* @public @memberof render_gfx