VERY experimental Nintendo Switch 2 emulator
C++
maxwell_3d: Use insert instead of loop push_back
ReinUsesLispbdd8e125047f
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cppindex f7fa5fea7c..6287df6339 100644--- a/src/video_core/engines/maxwell_3d.cpp+++ b/src/video_core/engines/maxwell_3d.cpp@@ -132,9 +132,7 @@ void Maxwell3D::ProcessMacro(u32 method, const u32* base_start, u32 amount, boolexecuting_macro = method;}- for (std::size_t i = 0; i < amount; i++) {- macro_params.push_back(base_start[i]);- }+ macro_params.insert(macro_params.end(), base_start, base_start + amount);// Call the macro when there are no more parameters in the command bufferif (is_last_call) {