d3dx9: Don't use memcpy in ID3DXConstantTable::GetDesc().
This commit is contained in:
parent
587468dc6d
commit
792cd67bf1
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue