Skip to content

Commit 554b280

Browse files
author
Codectory
committed
fix hdr status for Win 11 < 24H2
1 parent 8af77ba commit 554b280

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/HDRController/HDRController/HDRController.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,8 @@ static bool GetHDRStatus(UINT32 uid)
264264
// For HDR screens means HDR is on
265265
// For SDR screens means ACM (Automatic Color Management, Win 11 >= 22H2) is on
266266

267-
//if (getColorInfo.advancedColorSupported && !getColorInfo.wideColorEnforced)
268-
// hdrSupported = true;
267+
if (getColorInfo.advancedColorSupported && !getColorInfo.wideColorEnforced)
268+
hdrSupported = true;
269269

270270
if (hdrSupported && getColorInfo.advancedColorEnabled)
271271
hdrEnabled = true;

0 commit comments

Comments
 (0)