32-bit compile fix

This commit is contained in:
baldurk
2021-04-22 16:31:21 +01:00
parent f4d4c1862e
commit d18cf78188
+1 -1
View File
@@ -3977,7 +3977,7 @@ ReplayStatus D3D12_CreateReplayDevice(RDCFile *rdc, const ReplayOptions &opts, I
SectionProperties props = rdc->GetSectionProperties(sectionIdx);
reader = rdc->ReadSection(sectionIdx);
D3D12Core.resize(props.uncompressedSize);
D3D12Core.resize((size_t)props.uncompressedSize);
reader->Read(D3D12Core.data(), props.uncompressedSize);
RDCASSERT(reader->AtEnd());