dxgi: Report non-zero shared system memory.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=40803
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:
Józef Kucia 2018-11-21 10:13:23 +01:00 committed by Alexandre Julliard
parent b0b27730e6
commit a96f6f8bf5
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ static HRESULT dxgi_adapter_get_desc(struct dxgi_adapter *adapter, DXGI_ADAPTER_
desc->Revision = adapter_id.revision;
desc->DedicatedVideoMemory = adapter_id.video_memory;
desc->DedicatedSystemMemory = 0; /* FIXME */
desc->SharedSystemMemory = 0; /* FIXME */
desc->SharedSystemMemory = adapter_id.shared_system_memory;
desc->AdapterLuid = adapter_id.adapter_luid;
desc->Flags = 0;
desc->GraphicsPreemptionGranularity = 0; /* FIXME */