Commit 43ed6eae authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

d3d9: Assign to struct instead of using memcpy.

parent 6733c6ba
......@@ -89,7 +89,7 @@ HRESULT vdecl_convert_fvf(
if (!elements)
return D3DERR_OUTOFVIDEOMEMORY;
memcpy(&elements[size-1], &end_element, sizeof(D3DVERTEXELEMENT9));
elements[size-1] = end_element;
idx = 0;
if (has_pos) {
if (!has_blend && (fvf & D3DFVF_XYZRHW)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment