Commit 792cd67b authored by Rico Schüller's avatar Rico Schüller Committed by Alexandre Julliard

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

parent 587468dc
......@@ -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;
}
......
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