Queue shutdown begin one frame earlier.
This commit is contained in:
parent
e1f5fafc2c
commit
655dd6f7d9
1 changed files with 1 additions and 1 deletions
|
@ -726,9 +726,9 @@ namespace bgfx
|
||||||
{
|
{
|
||||||
BX_TRACE("shutdown");
|
BX_TRACE("shutdown");
|
||||||
|
|
||||||
|
getCommandBuffer(CommandBuffer::RendererShutdownBegin);
|
||||||
frame();
|
frame();
|
||||||
|
|
||||||
getCommandBuffer(CommandBuffer::RendererShutdownBegin);
|
|
||||||
destroyTransientVertexBuffer(m_submit->m_transientVb);
|
destroyTransientVertexBuffer(m_submit->m_transientVb);
|
||||||
destroyTransientIndexBuffer(m_submit->m_transientIb);
|
destroyTransientIndexBuffer(m_submit->m_transientIb);
|
||||||
m_textVideoMemBlitter.shutdown();
|
m_textVideoMemBlitter.shutdown();
|
||||||
|
|
Reference in a new issue