rsx: Apply Clang-Tidy fix "performance-unnecessary-value-param"

This commit is contained in:
scribam 2019-06-08 07:58:04 +02:00 committed by kd-11
parent 81a3b49c2f
commit db926ee671
15 changed files with 23 additions and 23 deletions

View file

@ -1613,7 +1613,7 @@ namespace rsx
}
}
void thread::get_current_fragment_program_legacy(std::function<std::tuple<bool, u16>(u32, fragment_texture&, bool)> get_surface_info)
void thread::get_current_fragment_program_legacy(const std::function<std::tuple<bool, u16>(u32, fragment_texture&, bool)>& get_surface_info)
{
auto &result = current_fragment_program = {};