Skip to content

Commit

Permalink
DynamicBuffer: updated buffer resize message
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMostDiligent committed Nov 18, 2023
1 parent 6e6a3a0 commit 1b49049
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Graphics/GraphicsTools/src/DynamicBuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,11 @@ void DynamicBuffer::CommitResize(IRenderDevice* pDevice,
else
ResizeDefaultBuffer(pContext);

m_Desc.Size = m_PendingSize;
LOG_INFO_MESSAGE("Dynamic buffer: expanding dynamic buffer '", m_Desc.Name, "' from ",
FormatMemorySize(m_Desc.Size, 1), " to ", FormatMemorySize(m_PendingSize, 1),
". Version: ", GetVersion());

LOG_INFO_MESSAGE("Dynamic buffer: expanding dynamic buffer '", m_Desc.Name,
"' to ", FormatMemorySize(m_Desc.Size, 1), ". Version: ", GetVersion());
m_Desc.Size = m_PendingSize;
}
else
{
Expand Down

0 comments on commit 1b49049

Please sign in to comment.