mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-22 07:01:30 +00:00
[idd] postprocess: centralize frame format utilities
This commit is contained in:
@@ -290,8 +290,7 @@ bool CHardwareFrameProcessor::EnsureCandidateResource(
|
||||
desc.Flags = D3D12_RESOURCE_FLAG_NONE;
|
||||
|
||||
if (candidate.resource &&
|
||||
CFrameProcessorUtil::ResourceDescMatches(
|
||||
candidate.resource->GetDesc(), desc, false))
|
||||
D12::Same(candidate.resource->GetDesc(), desc, D12::DescCmp::CREATE))
|
||||
return true;
|
||||
|
||||
candidate.resource.Reset();
|
||||
|
||||
Reference in New Issue
Block a user