d3d9: Assign to struct instead of using memcpy.

oldstable
Andrew Talbot 2008-02-14 22:02:31 +00:00 committed by Alexandre Julliard
parent 6733c6bad0
commit 43ed6eae5a
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {