mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-09 08:11:06 +00:00
Compile fix
This commit is contained in:
@@ -1104,7 +1104,7 @@ bool WrappedVulkan::Serialise_vkFlushMappedMemoryRanges(SerialiserType &ser, VkD
|
||||
size_t size = size_t(RDCMIN(it->finish(), finish) - offs);
|
||||
|
||||
// cap the size by the mapped memory region
|
||||
size = RDCMIN(MemRange.size, size);
|
||||
size = RDCMIN((size_t)MemRange.size, size);
|
||||
|
||||
memcpy(MappedData + offs, m_MaskedMapData.data() + offs, size);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user