[idd] use the actual surface colorspace instead of guessing

This commit is contained in:
Geoffrey McRae
2026-07-16 20:24:23 +10:00
parent 4734a4028a
commit ef8a4e2923
2 changed files with 75 additions and 51 deletions

View File

@@ -70,7 +70,8 @@ private:
static void CompletionFunction(
CD3D12CommandQueue * queue, bool result, void * param1, void * param2);
bool SwapChainNewFrame(ComPtr<IDXGIResource> acquiredBuffer, unsigned dirtyRectCount);
bool SwapChainNewFrame(ComPtr<IDXGIResource> acquiredBuffer, unsigned dirtyRectCount,
DXGI_COLOR_SPACE_TYPE colorSpace);
public:
CSwapChainProcessor(IDDCX_MONITOR monitor, CIndirectDeviceContext * devContext, IDDCX_SWAPCHAIN hSwapChain,