mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-26 16:36:31 +00:00
Fix 32-bit compile error
This commit is contained in:
@@ -4977,7 +4977,7 @@ byte *VulkanReplay::GetTextureData(ResourceId tex, uint32_t arrayIdx, uint32_t m
|
||||
|
||||
if(imCreateInfo.format == VK_FORMAT_D24_UNORM_S8_UINT)
|
||||
{
|
||||
dataSize = AlignUp(dataSize, (VkDeviceSize)4);
|
||||
dataSize = AlignUp(dataSize, (size_t)4);
|
||||
dataSize += GetByteSize(imInfo.extent.width, imInfo.extent.height, imInfo.extent.depth,
|
||||
VK_FORMAT_S8_UINT, mip);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user