d3drm: Face data size is in number of DWORD.

This commit is contained in:
Christian Costa 2012-12-14 08:37:53 +01:00 committed by Alexandre Julliard
parent 53e37121a4
commit ec51c5f737

View File

@ -2943,7 +2943,7 @@ static HRESULT WINAPI IDirect3DRMMeshImpl_GetGroup(IDirect3DRMMesh* iface,
if (face_data_size)
*face_data_size = This->groups[id].face_data_size;
if (face_data)
memcpy(face_data, This->groups[id].face_data, This->groups[id].face_data_size);
memcpy(face_data, This->groups[id].face_data, This->groups[id].face_data_size * sizeof(DWORD));
return D3DRM_OK;
}