d3dx9: Don't use memcpy in ID3DXConstantTable::GetDesc().

This commit is contained in:
Rico Schüller 2012-09-03 09:57:49 +02:00 committed by Alexandre Julliard
parent 587468dc6d
commit 792cd67bf1
1 changed files with 1 additions and 1 deletions

View File

@ -914,7 +914,7 @@ static HRESULT WINAPI ID3DXConstantTableImpl_GetDesc(ID3DXConstantTable *iface,
if (!desc)
return D3DERR_INVALIDCALL;
memcpy(desc, &This->desc, sizeof(This->desc));
*desc = This->desc;
return D3D_OK;
}