mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-14 22:10:43 +00:00
32-bit compile fix (downcast from UINT64 to size_t)
This commit is contained in:
@@ -806,7 +806,7 @@ void D3D12ResourceManager::Apply_InitialState(ID3D12DeviceChild *live, InitialCo
|
||||
{
|
||||
for(UINT r = 0; r < numrows[i]; r++)
|
||||
{
|
||||
memcpy(bufPtr, texPtr, rowsizes[i]);
|
||||
memcpy(bufPtr, texPtr, (size_t)rowsizes[i]);
|
||||
|
||||
bufPtr += layouts[i].Footprint.RowPitch;
|
||||
texPtr += rowsizes[i];
|
||||
|
||||
Reference in New Issue
Block a user