mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Win32 compile fix
This commit is contained in:
@@ -360,7 +360,7 @@ VkResult WrappedVulkan::vkQueueSubmit(
|
||||
|
||||
// allocate ref data so we can compare next time to minimise serialised data
|
||||
if(it->second.refData == NULL)
|
||||
it->second.refData = new byte[it->second.mapSize];
|
||||
it->second.refData = new byte[(size_t)it->second.mapSize];
|
||||
memcpy(it->second.refData, it->second.mappedPtr, (size_t)it->second.mapSize);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user