Skip to content

Commit

Permalink
More HDR capability
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxwellGengYF committed Jan 16, 2025
1 parent 57ebd69 commit a3c7d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backends/dx/DXApi/dx_hdr_ext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ DXHDRExtImpl::DXHDRExtImpl(LCDevice *lc_device) : _lc_device(lc_device) {
ThrowIfFailed(currentOutput.As(&output6));
DXGI_OUTPUT_DESC1 desc1;
ThrowIfFailed(output6->GetDesc1(&desc1));
_device_support_hdr |= (desc1.ColorSpace == DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020);
_device_support_hdr |= (desc1.ColorSpace == DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020) || (desc1.ColorSpace == DXGI_COLOR_SPACE_RGB_FULL_G10_NONE_P709);
i++;
}
}
Expand Down

0 comments on commit a3c7d08

Please sign in to comment.