Skip to content

Commit

Permalink
Suppress failure to disable clamp when HDR is active
Browse files Browse the repository at this point in the history
  • Loading branch information
weili-jiang committed Jun 25, 2023
1 parent 3788504 commit 7259363
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion novideo_srgb/MonitorData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,11 @@ private void UpdateClamp(bool doClamp)

private void HandleClampException(Exception e)
{
MessageBox.Show(e.Message);
if (!HdrActive)
{
// Driver no longer supports setting color space conversion while in HDR
MessageBox.Show(e.Message);
}
_clamped = Novideo.IsColorSpaceConversionActive(_output);
ClampSdr = _clamped;
_viewModel.SaveConfig();
Expand Down

0 comments on commit 7259363

Please sign in to comment.