mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
dxgi: Use assignment instead of memcpy().
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d626aac6c0
commit
d4daa14802
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ static HRESULT STDMETHODCALLTYPE dxgi_adapter_GetDesc1(IWineDXGIAdapter *iface,
|
|||
desc->DedicatedVideoMemory = adapter_id.video_memory;
|
||||
desc->DedicatedSystemMemory = 0; /* FIXME */
|
||||
desc->SharedSystemMemory = 0; /* FIXME */
|
||||
memcpy(&desc->AdapterLuid, &adapter_id.adapter_luid, sizeof(desc->AdapterLuid));
|
||||
desc->AdapterLuid = adapter_id.adapter_luid;
|
||||
desc->Flags = 0;
|
||||
|
||||
return hr;
|
||||
|
|
Loading…
Reference in a new issue