Fix VmaReplay after removing vmaResizeAllocation function

This commit is contained in:
Adam Sawicki 2021-02-26 12:16:07 +01:00
parent 6859ef214f
commit e74dc79903

View File

@ -3683,7 +3683,8 @@ void Player::ExecuteResizeAllocation(size_t lineNumber, const CsvSplit& csvSplit
const auto it = m_Allocations.find(origPtr); const auto it = m_Allocations.find(origPtr);
if(it != m_Allocations.end()) if(it != m_Allocations.end())
{ {
vmaResizeAllocation(m_Allocator, it->second.allocation, newSize); // Do nothing - the function was deprecated and has been removed.
//vmaResizeAllocation(m_Allocator, it->second.allocation, newSize);
UpdateMemStats(); UpdateMemStats();
} }
else else