mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-08 16:50:44 +00:00
Fix wrong index being printed in debug message
This commit is contained in:
@@ -252,7 +252,7 @@ MemoryAllocation WrappedVulkan::AllocateMemoryForResource(bool buffer, VkMemoryR
|
||||
{
|
||||
if(mrq.memoryTypeBits > (1U << m))
|
||||
{
|
||||
RDCDEBUG("Avoiding memory type %u due to small heap size (%llu)", i,
|
||||
RDCDEBUG("Avoiding memory type %u due to small heap size (%llu)", m,
|
||||
m_PhysicalDeviceData.memProps.memoryHeaps[heap].size);
|
||||
mrq.memoryTypeBits &= ~(1U << m);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user