mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Increase the buffer size if necessary before adding markers (#2838)
This commit is contained in:
@@ -2378,6 +2378,7 @@ namespace bgfx
|
||||
|
||||
void setMarker(const char* _name)
|
||||
{
|
||||
UniformBuffer::update(&m_frame->m_uniformBuffer[m_uniformIdx]);
|
||||
UniformBuffer* uniformBuffer = m_frame->m_uniformBuffer[m_uniformIdx];
|
||||
uniformBuffer->writeMarker(_name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user