1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-05 01:24:14 +01:00

[dxgi] Actually unlock monitor info

Fixes some deadlocks.
This commit is contained in:
Philip Rebohle 2022-11-21 20:24:15 +01:00
parent c6611dffa7
commit ebd29007d4

View File

@ -639,6 +639,7 @@ namespace dxvk {
DXGI_VK_MONITOR_DATA* pMonitorData;
if (SUCCEEDED(m_monitorInfo->AcquireMonitorData(m_monitor, &pMonitorData))) {
m_metadata = pMonitorData->DisplayMetadata;
m_monitorInfo->ReleaseMonitorData();
return;
}