Skip to content

Commit d10f69d

Browse files
committed
Корректировка включения/выключения HDR режима в системе.
1 parent 043e0a6 commit d10f69d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Source/DX11VideoProcessor.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1561,6 +1561,8 @@ bool CDX11VideoProcessor::HandleHDRToggle()
15611561
m_bHdrDisplaySwitching = false;
15621562

15631563
if (bRet) {
1564+
Sleep(100);
1565+
15641566
MONITORINFOEXW mi = { sizeof(mi) };
15651567
GetMonitorInfoW(MonitorFromWindow(m_hWnd, MONITOR_DEFAULTTOPRIMARY), (MONITORINFO*)&mi);
15661568
DisplayConfig_t displayConfig = {};

0 commit comments

Comments
 (0)