[PATCH 5/6] dxgi: Report non-zero shared system memory.

Józef Kucia jkucia at codeweavers.com
Wed Nov 21 03:13:23 CST 2018


Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=40803
Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
 dlls/dxgi/adapter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/dxgi/adapter.c b/dlls/dxgi/adapter.c
index 71e15d7b7c8c..4371ae74f7e1 100644
--- a/dlls/dxgi/adapter.c
+++ b/dlls/dxgi/adapter.c
@@ -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 */
-- 
2.18.1




More information about the wine-devel mailing list