Skip to content

Commit

Permalink
Fix EnqueueMakeResident not using the same parameters as MakeResident…
Browse files Browse the repository at this point in the history
… in d3dx12Residency library.
  • Loading branch information
Benoit Dumesnil committed May 25, 2022
1 parent 164b072 commit 6fe9e09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Libraries/D3DX12Residency/d3dx12Residency.h
Original file line number Diff line number Diff line change
Expand Up @@ -1296,8 +1296,8 @@ namespace D3DX12Residency
if (Device3)
{
hr = Device3->EnqueueMakeResident(D3D12_RESIDENCY_FLAG_NONE,
NumObjectsInBatch,
&pMakeResidentList[BatchStart].pUnderlying,
NumObjects,
&pMakeResidentList[MakeResidentIndex].pUnderlying,
AsyncThreadFence.pFence,
AsyncThreadFence.FenceValue + 1);
if (SUCCEEDED(hr))
Expand Down

0 comments on commit 6fe9e09

Please sign in to comment.