diff options
| author | Louis Bavoil <[email protected]> | 2018-03-30 21:31:25 +0200 |
|---|---|---|
| committer | Louis Bavoil <[email protected]> | 2018-03-30 21:31:25 +0200 |
| commit | 7dfdbb54a778d4d9184037fdc74c85debd68011b (patch) | |
| tree | 15c8800522d8bd5a5153d21a36989aba0b4d4565 /src/Common_DX12.h | |
| parent | HBAO+ 4.0.0.23740451 (diff) | |
| download | hbaoplus-7dfdbb54a778d4d9184037fdc74c85debd68011b.tar.xz hbaoplus-7dfdbb54a778d4d9184037fdc74c85debd68011b.zip | |
HBAO+ 4.0.0.23827312
Diffstat (limited to 'src/Common_DX12.h')
| -rw-r--r-- | src/Common_DX12.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common_DX12.h b/src/Common_DX12.h index 17dbe83..945d3ce 100644 --- a/src/Common_DX12.h +++ b/src/Common_DX12.h @@ -68,7 +68,7 @@ struct GFSDK_D3D12_DescriptorHeap void InitDescriptorHeap(ID3D12Device* pDevice, D3D12_DESCRIPTOR_HEAP_TYPE HeapType, const GFSDK_SSAO_DescriptorHeapRange_D3D12* pHeapInfo, bool bShaderVisible) { - NumDescriptors = pHeapInfo->NumDescriptors; + NumDescriptors = pHeapInfo->pDescHeap->GetDesc().NumDescriptors; pDescHeap = pHeapInfo->pDescHeap; BaseIndex = pHeapInfo->BaseIndex; |