[host] d12: disable RGB24 if the capture is HDR

This commit is contained in:
Geoffrey McRae
2024-02-28 07:46:47 +11:00
parent 5c4540ed8b
commit b87d8d2f33
3 changed files with 24 additions and 7 deletions

View File

@@ -66,9 +66,10 @@ struct D12Backend
struct D12FetchDesc
{
CaptureRotation rotation;
RECT * dirtyRects;
unsigned nbDirtyRects;
CaptureRotation rotation;
RECT * dirtyRects;
unsigned nbDirtyRects;
DXGI_COLOR_SPACE_TYPE colorSpace;
};
static inline bool d12_backendCreate(const D12Backend * backend,