You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Use initializer list in Arrays
This commit is contained in:
@@ -309,12 +309,8 @@ void RendererSceneRenderRD::_process_compositor_effects(RS::CompositorEffectCall
|
||||
Vector<RID> re_rids = comp_storage->compositor_get_compositor_effects(p_render_data->compositor, p_callback_type, true);
|
||||
|
||||
for (RID rid : re_rids) {
|
||||
Array arr;
|
||||
Callable callback = comp_storage->compositor_effect_get_callback(rid);
|
||||
|
||||
arr.push_back(p_callback_type);
|
||||
arr.push_back(p_render_data);
|
||||
|
||||
Array arr = { p_callback_type, p_render_data };
|
||||
callback.callv(arr);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user