diff options
Diffstat (limited to 'video/out/gpu/d3d11_helpers.h')
-rw-r--r-- | video/out/gpu/d3d11_helpers.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/video/out/gpu/d3d11_helpers.h b/video/out/gpu/d3d11_helpers.h index 5ce23c68cb..c115d330d5 100644 --- a/video/out/gpu/d3d11_helpers.h +++ b/video/out/gpu/d3d11_helpers.h @@ -78,6 +78,12 @@ struct d3d11_swapchain_opts { int width; int height; DXGI_FORMAT format; + DXGI_COLOR_SPACE_TYPE color_space; + + // mp_colorspace mapping of the configured swapchain colorspace + // shall be written into this memory location if configuration + // succeeds. Will be ignored if NULL. + struct mp_colorspace *configured_csp; // Use DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL if possible bool flip; |