mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-13 07:39:22 +00:00
32-bit compile fix (downcast from UINT64 to size_t)
This commit is contained in:
1 parent
5d25018874
commit
b7431aec46
1 file changed
+1
-1
@@ -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