mirror of
https://github.com/brl/mutter.git
synced 2024-11-30 03:50:47 -05:00
clutter/paint-volume: Mark a paint volume argument as const
The function _clutter_paint_volume_get_stage_paint_box() actually doesn't modify the paint volume that's passed to it, so make that a bit more clear by passing a const paint volume as the argument. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1492>
This commit is contained in:
parent
692a8a4d93
commit
93ba039b90
@ -126,7 +126,7 @@ void _clutter_paint_volume_set_reference_actor (ClutterPaintVolu
|
|||||||
ClutterCullResult _clutter_paint_volume_cull (ClutterPaintVolume *pv,
|
ClutterCullResult _clutter_paint_volume_cull (ClutterPaintVolume *pv,
|
||||||
const graphene_frustum_t *frustum);
|
const graphene_frustum_t *frustum);
|
||||||
|
|
||||||
void _clutter_paint_volume_get_stage_paint_box (ClutterPaintVolume *pv,
|
void _clutter_paint_volume_get_stage_paint_box (const ClutterPaintVolume *pv,
|
||||||
ClutterStage *stage,
|
ClutterStage *stage,
|
||||||
ClutterActorBox *box);
|
ClutterActorBox *box);
|
||||||
|
|
||||||
|
@ -1029,7 +1029,7 @@ _clutter_paint_volume_cull (ClutterPaintVolume *pv,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
_clutter_paint_volume_get_stage_paint_box (ClutterPaintVolume *pv,
|
_clutter_paint_volume_get_stage_paint_box (const ClutterPaintVolume *pv,
|
||||||
ClutterStage *stage,
|
ClutterStage *stage,
|
||||||
ClutterActorBox *box)
|
ClutterActorBox *box)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user