maxwell_3d: Avoid moving macro_params

This commit is contained in:
ReinUsesLisp
2019-08-25 01:08:35 -03:00
parent 922c7f4e51
commit 701dedcfad
4 changed files with 24 additions and 12 deletions

View File

@ -1307,9 +1307,10 @@ private:
/**
* Call a macro on this engine.
* @param method Method to call
* @param num_parameters Number of arguments
* @param parameters Arguments to the method call
*/
void CallMacroMethod(u32 method, std::vector<u32> parameters);
void CallMacroMethod(u32 method, std::size_t num_parameters, const u32* parameters);
/// Handles writes to the macro uploading register.
void ProcessMacroUpload(u32 data);