mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-22 23:21:29 +00:00
[idd] postprocess: centralize frame format utilities
This commit is contained in:
@@ -572,7 +572,7 @@ bool CSwapChainProcessor::SwapChainNewFrame(ComPtr<IDXGIResource> acquiredBuffer
|
||||
srcFormat.desc = srcDesc;
|
||||
srcFormat.width = (unsigned)srcDesc.Width;
|
||||
srcFormat.height = srcDesc.Height;
|
||||
srcFormat.format = CFrameProcessorUtil::GetFrameType(srcDesc.Format);
|
||||
srcFormat.format = D12::Type(srcDesc.Format);
|
||||
srcFormat.sdrWhiteLevel = sdrWhiteLevel;
|
||||
srcFormat.colorTransform = m_control.GetColorTransform();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user