mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
c/render: Constify arguments [NFC]
This commit is contained in:
parent
b5a9300479
commit
87b3b2ea5a
|
@ -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);
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue