Queue shutdown begin one frame earlier.
This commit is contained in:
parent
e1f5fafc2c
commit
655dd6f7d9
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user