mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
cogl: Initialize first_index_to_prune
I don't know how come that the compiler wasn't complaining about it till now Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3437>
This commit is contained in:
parent
6b29371db3
commit
bc44d2855b
@ -1447,6 +1447,7 @@ _cogl_pipeline_prune_to_n_layers (CoglPipeline *pipeline, int n)
|
||||
* before we change the number of layers */
|
||||
state.keep_n = n;
|
||||
state.current_pos = 0;
|
||||
state.first_index_to_prune = 0;
|
||||
_cogl_pipeline_foreach_layer_internal (pipeline,
|
||||
update_prune_layers_info_cb,
|
||||
&state);
|
||||
|
Loading…
Reference in New Issue
Block a user