Skip to content

Commit

Permalink
d3d11/swapchain: copy missing fields in map_pl_csp_to_d3d11
Browse files Browse the repository at this point in the history
  • Loading branch information
kasper93 authored and haasn committed Feb 19, 2023
1 parent 69c601c commit a44d91d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/d3d11/swapchain.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ static struct d3d11_csp_mapping map_pl_csp_to_d3d11(const struct pl_color_space
{
struct pl_color_space pl_csp = pl_color_space_hdr10;
pl_csp.hdr = hint->hdr;
pl_csp.nominal_min = hint->nominal_min;
pl_csp.nominal_max = hint->nominal_max;

return (struct d3d11_csp_mapping){
.d3d11_csp = DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020,
Expand Down

0 comments on commit a44d91d

Please sign in to comment.