Queue shutdown begin one frame earlier.

This commit is contained in:
bkaradzic 2013-01-27 22:43:11 -08:00
parent e1f5fafc2c
commit 655dd6f7d9

View File

@ -726,9 +726,9 @@ namespace bgfx
{
BX_TRACE("shutdown");
getCommandBuffer(CommandBuffer::RendererShutdownBegin);
frame();
getCommandBuffer(CommandBuffer::RendererShutdownBegin);
destroyTransientVertexBuffer(m_submit->m_transientVb);
destroyTransientIndexBuffer(m_submit->m_transientIb);
m_textVideoMemBlitter.shutdown();