On 14 April 2014 19:32, Matteo Bruni mbruni@codeweavers.com wrote:
@@ -740,6 +740,12 @@ static void set_vector(struct d3dx_parameter *param, const D3DXVECTOR4 *vector) { UINT i;
- if (param->type == D3DXPT_FLOAT)
- {
memcpy(param->data, vector, param->columns * sizeof(float));
return;
- }
When called from d3dx9_base_effect_set_vector_array(), this is not quite optimal either.