One more missed conversion

This commit is contained in:
cdozdil
2025-10-21 18:00:20 +03:00
parent 5d8cff0e22
commit 3d877e2e09
+2 -2
View File
@@ -287,7 +287,7 @@ bool RCAS_Dx12::Dispatch(ID3D12Device* InDevice, ID3D12GraphicsCommandList* InCm
UINT dispatchWidth = 0;
UINT dispatchHeight = 0;
dispatchWidth = (inDesc.Width + InNumThreadsX - 1) / InNumThreadsX;
dispatchWidth = static_cast<UINT>((inDesc.Width + InNumThreadsX - 1) / InNumThreadsX);
dispatchHeight = (inDesc.Height + InNumThreadsY - 1) / InNumThreadsY;
InCmdList->Dispatch(dispatchWidth, dispatchHeight, 1);
@@ -576,4 +576,4 @@ RCAS_Dx12::~RCAS_Dx12()
_constantBuffer->Release();
_constantBuffer = nullptr;
}
}
}